Open egeland opened 8 years ago
Last time I checked, mdl doesn't export its MaterialSnackbar class (which has the showSnackbar method). I'm wondering if I should work around that or wait until they release it officially..
Probably better to wait..
Is there any way to fix it? It doesn't seem to work yet :(
I just got a notification from this (very old) issue today and I don't know why. 😏 If there's still interest, I can add a toast example tomorrow.
@Thanood I wrote that i still have problem with the toast, to see if someone post the answer here, but the problem was with Vue, but coincidentally it was exactly the same error, so i erase the post after i found out hahha. Thanks a lot anyway!
Thanks for telling me.. I'm notoriously curious.
I'm trying to use the
mdl-toast
like the below, but am getting errors:I have a button with a simple
click.trigger="toastMe()"
- that is all in reference to toast in my HTML. Am I simply missing something?The error I get is: