error

This is a shorthand method for show(data, "error")

Parameters

data Object|String|Function

Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.

In this article
Not finding the help you need?