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 or LivePatch..
  • breadcrumbs :list, default: []

Slots

  • items

Link to this section Summary

Link to this section Functions

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.