Callbacks Object
As second argument you can pass object with two properties: "mounted" and "destroyed".
Property
Type
Description
mounted
Function
Will be invoked, when flashMessage appears
destroyed
Function
Will be invoked, when flashMessage gone
Example:
For example you can add some sound which will be played when message appears
Last updated