1.0.9 • Published 8 years ago
mininotice v1.0.9
mini通知插件
first:
npm i mininotice -Sthen:
import mininotice from 'mininotice'
import 'mininotice/lib/notice.css'At present, notice plugin has a few ways:
mininotice.msg: just like toast component, 3.5s after the disappearanceMininotice.msg has the following parameters:name type default desc msg String 'hello, notice' message of mininotice.msg type String 'info' there are four, namely: info,success,warning,dangercanClose Boolean false Whether it can be closed