1.0.2 • Published 9 months ago

@exmg/exm-breadcrumbs v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

<exm-breadcrumbs> Published on npm

@exmg/exm-breadcrumbs

Component to render breadcrumbs within a page or component with the option to enable / disable arrow seperator

Installation

npm install @exmg/exm-breadcrumbs

Example Usage

Standard

@state()
private items = [
   {href: '/home', content: 'Home page'},
   {href: '/users', content: 'User List'},
   {href: '/users/1234', content: 'Mark'},
   {href: '/users/1234/details', content: 'Details'},
 ];
<exm-breadcrumbs .items="${this.items}"></exm-breadcrumbs>

API

Slots

NameDescription
defaultButton to handle copy to clipboard

Properties/Attributes

NameTypeDefaultDescription
itemsarray[]The items displayed by the breadcrumbs
arrowSeperatorbooleanfalseWhether or not to display the arrow seperator

Methods

None

Events

None

CSS Custom Properties

None

Additional references

1.0.2

9 months ago

1.0.1

1 year ago

1.0.0

1 year ago