Vibe.UI.Selector (vibe v0.2.1)

Copy Markdown View Source

Modal selector state for model/effort/session pickers.

Summary

Types

t()

@type t() :: %Vibe.UI.Selector{
  items: [term()],
  kind: atom() | nil,
  limit: pos_integer() | nil,
  message: String.t() | nil,
  overlay_kind: atom() | nil,
  selected: non_neg_integer(),
  title: String.t() | nil
}

Functions

move(selector, direction)

@spec move(t(), integer()) :: t()

new(selector)

@spec new(t() | map() | keyword()) :: t()

overlay(selector)

@spec overlay(t()) :: map()