This package has been deprecated
Author message:
No longer maintained
tiny-tost
0.1.1 • Public • Published
npm install --save tiny-tost
import Tost from 'tiny-tost';
// open Tost default
// default config = {
// message: '提示',
// position: 'middle',
// duration: 2500
// }
// or
// config = '成功'
// open Tost default
Tost.open(config);
// open Tost success
Tost.success(config);
// open Tost error
Tost.error(config);
// open Tost warn
Tost.warn(config);
Package Sidebar
Install
Weekly Downloads