Extends
- ember/Component
- module:mixins/sl-tooltip-enabled
Members
(inner) actions :Object
Type:
- Object
- Source:
(inner) align :Align
Dropdown menu alignment; either "left" or "right"
Type:
- Align
- Source:
(inner) classNameBindings :Array.<String>
Type:
- Array.<String>
- Source:
(inner) classNames :Array.<String>
Type:
- Array.<String>
- Source:
(inner, nullable) content :Array.<Object>
Array of dropdown options
Type:
- Array.<Object>
- Default Value:
- null
- Source:
(inner) iconClass :String
Class string for the button's icon
Type:
- String
- Default Value:
- 'caret'
- Source:
(inner, nullable) label :String
Text string used for labeling the drop-button
Type:
- String
- Default Value:
- null
- Source:
(inner) layout :Object
Type:
- Object
- Source:
(inner) size :module:components/sl-button.Size
The size of the button
Type:
- Source:
(inner) theme :module:components/sl-button.Theme
The theme style name
Type:
- Source:
Methods
(inner) actions:click(action) → {undefined}
Used to trigger specific option-bound action
Parameters:
Name | Type | Description |
---|---|---|
action |
String | Action to trigger |
- Source:
Returns:
- Type
- undefined
(inner) rightAligned() → {Boolean}
Whether the current "align" property is "right"
- Source:
Observes:
- align
Returns:
- Type
- Boolean
(inner) themeClass() → {String}
The class value for the drop-button based on the current "theme"
- Source:
Observes:
- theme
Throws:
-
Thrown when supplied
theme
is not a value defined in enum ButtonTheme - Type
- ember.assert
Returns:
- Type
- String