Module: addon/components/sl-alert

Extends

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

Members

(inner) actions :Object

Type:
  • Object
Source:

(inner) ariaRole :String

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

(inner) classNameBindings :Array.<String>

Type:
  • Array.<String>
Source:

(inner) classNames :Array.<String>

Type:
  • Array.<String>
Source:

(inner) dismissable :Boolean

Whether to make the alert dismissable or not

Type:
  • Boolean
Default Value:
  • false
Source:

(inner) layout :Object

Type:
  • Object
Source:

(inner) theme :Theme

The Bootstrap "theme" style to apply to the alert

Type:
  • Theme
Source:

Methods

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

Trigger a bound "dismiss" action when the alert is dismissed

Source:
Returns:
Type
undefined

(inner) themeClassName() → {String}

The generated Bootstrap "theme" style class for the alert

Source:
Observes:
  • theme
Throws:

Thrown if the supplied theme value is not one defined in the enum Theme

Type
ember.assert
Returns:

Defaults to "alert-info"

Type
String