trigger/alert

Show an alert in the app

Fields

typestring

Options include default, modal, toast

stylestring

Options include default, error, success, warning

titlestring

The title for your message

messagestring required

The text body for your message


Tapcart.action("trigger/alert", {
  "type": "toast",
  "style": "error",
  "title": "User not found!",
  "message": "It looks like there was a problem locating your account, try creating a user instead."
});