Lurch web app user interface

Class

AlertItem

An item that can be used in a Dialog to represent an alert (that is, a piece of text that is colored and given an icon to make it more obvious). This corresponds to the "alertbanner" type of body component in a TinyMCE dialog.

Constructor

new AlertItem(type, text)

Construct an alert item. An appropriate icon is chosen to correspond to the type of alert constructed.

Parameters

  • type string

    the type of alert, one of "info", "warn", "error", or "success"

  • text string

    the text to show in the alert

Source

Classes

AlertItem