Materialize.toast show a toast only once
Materialize.toast show a toast only once Does anyone know of a way to show a toast only once? Right now let's say if you keep clicking on a button to display a toast, they will just keep stacking on top of each other before the previous one has expired. Kind of annoying. Is there any way? you can make click disable untill there is toast and then enable – Rupal Apr 12 at 4:43 thanks but it is not onclick. it was a function that is running. I was just giving an example. – blg2 Apr 12 at 12:26 2 Answers 2 There are different ways to achieve this. The first that comes to mind is the following. let's say ...