open-vault/ui/stories/alert-popup.md
Alexander Scheel 1996336481
Update repository links to point to main (#14112)
* Update repository links to point to main

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Fix broken link in relatedtools.mdx

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2022-02-17 14:30:56 -05:00

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