Components.NavItem Class
Component for each item within a Components.Nav component. Have a look there for examples.
Methods
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
Properties
active boolean
publicRender 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
childLinks unknown
privateCollection of all Ember.LinkComponent
s that are children
children array
protected
Array of registered child components
disabled boolean
publicRender 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