open-vault/ui/stories/alert-popup.md

1.1 KiB

AlertPopup

The AlertPopup is an implementation of the ember-cli-flash flashMessage.

Param Type Default Description
type String The alert type. This comes from the message-types helper.
[message] String The alert message.
close Func The close action which will close the alert.

Example

// All properties are passed in from the flashMessage service.
<AlertPopup 
  @type={{message-types flash.type}} 
  @message={{flash.message}} 
  @close={{close}}/>

See