Extends
- ember/Component
Members
(inner) actions :Object
Type:
- Object
- Source:
(inner) active :Boolean
Whether the menu item is currently active
Type:
- Boolean
- Default Value:
- false
- Source:
(inner) classNameBindings :Array.<String>
Type:
- Array.<String>
- Source:
(inner) classNames :Array.<String>
Type:
- Array.<String>
- Source:
(inner, nullable) item :Object
The menu item object
Type:
- Object
- Default Value:
- null
- Source:
(inner) layout :Object
Type:
- Object
- Source:
(inner) tagName :String
Type:
- String
- Default Value:
- 'li'
- Source:
Methods
(inner) actions:clickLink() → {undefined}
Click event handler
- Source:
Returns:
- Type
- undefined
(inner) actions:handleAction(actionName, data) → {undefined}
Handle sub menu item actions
Parameters:
Name | Type | Description |
---|---|---|
actionName |
String | The name of an action to pass |
data |
* | Any data to also pass |
- Source:
Returns:
- Type
- undefined
(inner) hasSubItems() → {Boolean}
Whether or not the item
has a sub-array of items
- Source:
Observes:
- item
Returns:
- True if the item has sub-items
- Type
- Boolean
(inner) mouseEnter() → {undefined}
mouseEnter event handler
- Source:
Returns:
- Type
- undefined
(inner) mouseLeave() → {undefined}
mouseLeave event handler
- Source:
Returns:
- Type
- undefined
(inner) subItems() → (nullable) {ember/Array}
Wrap the item's items array as an Ember.Array
- Source:
Observes:
- item
Returns:
- Type
- ember/Array