0.2.1 • Published 6 years ago
@eckon/toast v0.2.1
Package Usage
Import the ToastComponent into the "main" view (like a layout).
Import the Toast to push new toasts to the ToastComponent.
Toast.show(message);
Toast.success(message);
Toast.error(message);
// will set the global time of all toasts
Toast.setDelay(message);Project setup
npm installCompiles and hot-reloads for development
npm run serveBuild and bundle for npm
npm run buildTesting the built package locally
Lints and fixes files
npm run lint