Documentation ¶ Index ¶ type Model func New(options ...Option) (m Model) func (m *Model) SetCrumbs(crumbs []string) func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) func (m Model) View() string type Option func WithCrumbs(crumbs []string) Option type Styles func DefaultStyles() Styles Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { // contains filtered or unexported fields } func New ¶ func New(options ...Option) (m Model) func (*Model) SetCrumbs ¶ added in v0.0.8 func (m *Model) SetCrumbs(crumbs []string) func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string type Option ¶ type Option func(*Model) func WithCrumbs ¶ func WithCrumbs(crumbs []string) Option type Styles ¶ type Styles struct { Crumb lipgloss.Style Active lipgloss.Style } func DefaultStyles ¶ func DefaultStyles() Styles Source Files ¶ View all Source files breadcrumbs.go Click to show internal directories. Click to hide internal directories.