Google News
Material Design - Interview Questions
What do you mean by Dialogs in materialize?
Materialize provides various method to show unremarkable alerts. It also provides a term toast form them. Following is given syntax:
Materialize.toast(message, displayLength, className, completeCallback);
message: It is used to displayed Message to the user.
displayLength: Duration of the message after it will disappear.
className: Style class to be applied to the toast. For example, ’rounded’.
completeCallback: This Callback method to be called once toast is dismissed.