Skip to content
bahtuiv0.6.0

<baht-breadcrumbs>

Breadcrumb trail; last item is the current page (no link).

Basic

Omit href to go router-driven: the item emits baht-navigate instead of navigating.

<baht-breadcrumbs></baht-breadcrumbs>

<script>
  const el = document.querySelector('baht-breadcrumbs');
  el.items = [
    {
      "label": "Home",
      "href": "/"
    },
    {
      "label": "Workflows",
      "href": "/workflows"
    },
    {
      "label": "Invoice sync"
    }
  ];
</script>
NameTypeDefaultDescription
itemsJSCrumb[][]{ label, href? }
separatorstring'›'Separator character
EventdetailDescription
nameCustomEvent
baht-navigate{ item, index }href-less crumb clicked