Module: addon/components/sl-drop-option

Extends

  • ember/Component

Members

(inner) actions :Object

Type:
  • Object
Source:

(inner) ariaRole :String

Type:
  • String
Default Value:
  • 'menuitem'
Source:

(inner) classNameBindings :Array.<String>

Type:
  • Array.<String>
Source:

(inner) classNames :Array.<String>

Type:
  • Array.<String>
Source:

(inner, nullable) data :Object

Any data to be passed along with the action

Type:
  • Object
Default Value:
  • null
Source:

(inner) layout :Object

Type:
  • Object
Source:

(inner) tagName :String

Type:
  • String
Default Value:
  • 'li'
Source:

Methods

(inner) actions:click() → {undefined}

Send the primary action, with data property if defined, when the click action is triggered

Source:
Returns:
Type
undefined

(inner) optionType() → {String}

Represents the type of option; "divider" if the label is undefined, or "presentation" otherwise

Source:
Observes:
  • label
Returns:
Type
String