DevactionUI.Breadcrumb (devaction_ui v0.3.3)

Copy Markdown View Source

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> that Esc and a press outside close). Name that … with collapsed_label.

home puts a link to the start of the app before the first item, drawn by the home_icon slot and named by home_label, which it needs (without one it raises).

Summary

Functions

The trail of pages up to the current one.

Functions