Raxol.Docs.TutorialViewer (Raxol v0.5.0)

View Source

Interactive tutorial viewer component.

Summary

Types

t()

@type t() :: %Raxol.Docs.TutorialViewer{
  active_tutorial: map() | nil,
  available_tutorials: [map()],
  current_step: map() | nil,
  status: :selecting_tutorial | :viewing_step,
  step_index: non_neg_integer(),
  user_input: String.t(),
  validation_result: :ok | {:error, String.t()} | nil
}

Functions

batch(cmds)

command(cmd)

subscribe(_)

Callback implementation for Raxol.Core.Runtime.Application.subscribe/1.

subscribe_interval(interval, msg)

subscribe_to_events(events)