0.2.1 • Published 5 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 install
Compiles and hot-reloads for development
npm run serve
Build and bundle for npm
npm run build
Testing the built package locally
Lints and fixes files
npm run lint