alert

show notification with given title and message


Parameters

alert title :string
      message :string

Attributes

infoshow informational notification
warningshow notification as a warning
errorshow notification as an error

Returns

  • :nothing

Examples

copy
alert "Hello!" "This is a notification..." ; show an OS notification without any styling alert.error "Ooops!" "Something went wrong!" ; show an OS notification with an error message

Related