Skip to main content

BreadcrumbItem

One step in a Breadcrumb.

An item with an on_click handler is shown as a link. Without one it is plain text, which suits the last item (the current page).

Inherits: Control

Properties

Events

  • on_click - Called when this item is clicked.

Properties​

contentinstance-attribute​

content: StrOrControl

The label of this item.

If a string is provided, it is wrapped in a Text control.

Events​

on_clickclass-attributeinstance-attribute​

on_click: ControlEventHandler[BreadcrumbItem] | None = (
    None
)

Called when this item is clicked.