Noora.Alert (noora v0.1.0-alpha.3)

An alert component.

Summary

Functions

alert(assigns)

Attributes

  • id (:string) - Defaults to nil.
  • type (:string) - The type of alert. Defaults to "primary". Must be one of "primary", or "secondary".
  • status (:string) (required) - The status of the alert. Must be one of "information", "warning", "error", or "success".
  • size (:string) - The size of the alert. Defaults to "medium". Must be one of "small", "medium", or "large".
  • dismissible (:boolean) - Whether the alert can be dismissed. Defaults to false.
  • title (:string) (required) - The title of the alert.
  • description (:string) - The description of the alert. Only shown if size is large. Defaults to nil.
  • Global attributes are accepted.

Slots

  • action