success

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

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