SigmaKit.Components.Alerts (sigma_kit v0.0.9)

Summary

Functions

Attributes

  • danger (:boolean) - Apply the danger style to the alert. Defaults to false.
  • success (:boolean) - Apply the success style to the alert. Defaults to false.
  • warning (:boolean) - Apply the warning style to the alert. Defaults to false.
  • info (:boolean) - Apply the info style to the alert. Defaults to false.
  • title (:string) - The title of the alert. Defaults to nil.
  • class (:any) - Additional classes to apply to the alert. Defaults to nil.

Slots

  • inner_block - The content to render inside the alert.

Functions

alert(assigns)

Attributes

  • danger (:boolean) - Apply the danger style to the alert. Defaults to false.
  • success (:boolean) - Apply the success style to the alert. Defaults to false.
  • warning (:boolean) - Apply the warning style to the alert. Defaults to false.
  • info (:boolean) - Apply the info style to the alert. Defaults to false.
  • title (:string) - The title of the alert. Defaults to nil.
  • class (:any) - Additional classes to apply to the alert. Defaults to nil.

Slots

  • inner_block - The content to render inside the alert.