Module: addon/components/sl-radio-group

Extends

  • ember/Component
  • module:mixins/sl-input-based
  • module:mixins/sl-tooltip-enabled

Members

(inner) attributeBindings :Array.<String>

Type:
  • Array.<String>
Source:

(inner) classNames :Array.<String>

Type:
  • Array.<String>
Source:

(inner) disabled :Boolean

Whether the radio buttons should be disabled

Type:
  • Boolean
Default Value:
  • false
Source:

(inner, nullable) inline :Boolean

Whether the radio buttons should be put inline together

This value is null by default, which means that the sl-radio-group will not override anything. If the inline value is false, the children buttons will be forced to not inline, and if true, they will be forced to be inline.

Type:
  • Boolean
Default Value:
  • null
Source:

(inner) layout :Object

Type:
  • Object
Source:

(inner, nullable) name :String

The "name" attribute for the children radio buttons

Similar to the inline property; the default value is null, so the children buttons will not be overridden. Any string value will overwrite the children buttons' name property.

Type:
  • String
Default Value:
  • null
Source:

(inner) readonly :Boolean

Whether the radio buttons should be readonly

Type:
  • Boolean
Default Value:
  • false
Source:

(inner) tagName :String

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

(inner, nullable) value :String

The component's current value property

Type:
  • String
Default Value:
  • null
Source:

Methods

(inner) initialize() → {undefined}

Initialize the group-wide options and setup child radio buttons

Source:
Listens to Events:
  • event:didInsertElement
Throws:

Thrown if the name property is not set

Type
ember.assert
Returns:
Type
undefined

(inner) unregisterEvents() → {undefined}

Remove events

Source:
Listens to Events:
  • event:willClearRender
Returns:
Type
undefined