Components.NavItem public

Component for each item within a Components.Nav component. Have a look there for examples.

Item Index

Events

registerChild

public
Register a component as a child of this parent

Parameters:

  • child Object

removeChild

public
Remove the child component from this parent component

Parameters:

  • child Object

active boolean public

Render the nav item as active. By default it will look at any nested link-to components and make itself active if there is an active link (i.e. the link points to the current route). See the link-to API

children array protected

Array of registered child components

disabled boolean public

Render the nav item as disabled (see Bootstrap docs). By default it will look at any nested link-to components and make itself disabled if there is a disabled link. See the link-to API

onClick

public

Called when clicking the nav item

Classes