SurfaceBootstrap.Breadcrumb (surface_bootstrap v0.2.5)
Can take a list of breadcrumb maps with keys url
, text
and active
or a slot list of Breadcrumb.Item
.
Properties
- link_type :string, required: true, values: ~w(link live_redirect live_patch) - What kind of link to be rendered?
Link
,LiveRedirect
orLivePatch
.. - breadcrumbs :list, default: []
Slots
- items
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
Callback implementation for Phoenix.LiveComponent.update/2
.
Link to this section Functions
Link to this function
mount(socket)
Callback implementation for Phoenix.LiveComponent.mount/1
.
Link to this function
render(assigns)
Callback implementation for Phoenix.LiveComponent.render/1
.
Link to this function
update(assigns, socket)
Callback implementation for Phoenix.LiveComponent.update/2
.