Where the page is: Today / SGE / PR #142. The last item is the current page and always carries
aria-current="page", whether it is a link or plain text.
The separator is text ("/" by default) or :chevron, a 14px chevron that mirrors itself when the page
is right-to-left (dir="rtl"); the row itself already runs from the right there. A long trail can be
shortened with max: it keeps the first item and the last max - 1, and the ones between become a … that
opens a list of them (a native <details>, so it needs no JavaScript). Name that … with collapsed_label.
Summary
Functions
The trail of pages up to the current one.
Functions
@spec breadcrumb(map()) :: Phoenix.LiveView.Rendered.t()
The trail of pages up to the current one.
Attributes
label(:string) (required) - the name of the navigation, for assistive technology.items(:list) (required) -%{label: ..., to: path}each;tonavigates to another LiveView,patchpatches this one andhrefis a plain link. An item with none of them is plain text.separator(:any) - the text between items, or:chevronfor a chevron that follows the reading direction. Defaults to"/".max(:integer) - how many items are drawn at most (2 or more); the first and the lastmax - 1stay, the middle collapses. Defaults tonil.collapsed_label(:string) - the name of the…that holds the collapsed items; give it whenevermaxis set. Defaults tonil.class(:any) - Defaults tonil.- Global attributes are accepted.