Materialize Toasts
Tagged MaterializeCSS toasts makes for organised closing.
Installation
$ meteor add mozfet:materialize-toast
Usage
Anywhere in client side code after MaterializeCSS NPM package was loaded.
1import { Toast } from 'meteor/mozfet:materialize-toast' 2Toast.show(['tag1', 'tag2'], "My message") 3Toast.show(['tag3', 'tag4'], "Another message") 4Toast.closeTags(['tag1', 'tag4']) //closes both messages