cla-nav-item

Navigation item

Usage

<ul>
<cla-nav-item><a href="#0">Nav Item</a></cla-nav-item>

Properties

Property Attribute Description Type Default
active active Whether nav tabs is active. boolean undefined
href href nav tab href link . any undefined
name name nav tab name & id - fills the 'data-name' and 'id' attributes of the <li> any undefined
navtitle navtitle Whether to display nav items as link or titles in block mode (this attribute will not work in the list is in inline mode) boolean undefined
size size The nav tab size. "default" | "large" | "small" | "xsmall" 'default'

Events

Event Description Type
claNavItemDidLoad Emitted when nav item loads. CustomEvent<any>

Slots

Slot Description
Link or title content

Built with StencilJS