Module: addon/components/sl-modal

Extends

  • ember/Component
  • ember-stream/mixins/stream-enabled

Members

(inner) actions :Object

Type:
  • Object
Source:

(inner) animated :Boolean

Whether the modal is animated with transition or not

Type:
  • Boolean
Default Value:
  • true
Source:

(inner, nullable) ariaDescribedBy :String

ariaDescribedBy property, the value of this will be set as the value to the aria-describedby attribute

Type:
  • String
Default Value:
  • null
Source:

(inner) ariaHidden :String

ariaHidden property, the value of this will be set as the value to the aria-hidden attribute

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

(inner) ariaRole :String

The ariaRole property, the value of this will be set as the value to the aria-role attribute

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

(inner) attributeBindings :Array.<String>

Type:
  • Array.<String>
Source:

(inner) classNameBindings :Array.<String>

Type:
  • Array.<String>
Source:

(inner) classNames :Array.<String>

Type:
  • Array.<String>
Source:

(inner) layout :Object

Type:
  • Object
Source:

(inner) tabindex :String

tabindex attribute value

Type:
  • String
Default Value:
  • '-1'
Source:

(inner) tagName :String

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

Methods

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

Trigger hiding the model

Source:
Returns:
Type
undefined

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

Trigger showing the model

Source:
Returns:
Type
undefined

(inner) ariaLabelledBy() → {String}

ariaLabelledBy property, the value of this will be set as the value to the aria-labelledby attribute

Source:
Returns:
Type
String

(inner) getLabelledby() → {undefined}

Get ariaLabelledBy target element id

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

(inner) hide() → {undefined}

Hide the modal by triggering Bootstrap's modal( hide )

Source:
Returns:
Type
undefined

(inner) setupModal() → {undefined}

Set up the component as a Bootstrap Modal and listen for events

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

(inner) setupStreamActions() → {undefined}

Setup stream actions bindings

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

(inner) show() → {undefined}

Show the modal by triggering Bootstrap's modal( show )

Source:
Returns:
Type
undefined

(inner) unbindHandlers() → {undefined}

Unbind bootstrap event handlers

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