1.0.7 • Published 7 years ago

toast-vue-mobile v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

toast-vue-mobile

toast-vue-mobile vue2.0

1. Install

$ npm install toast-vue-mobile

2. Usage

toasts(ref="toasts", :type='toastIcon', :show='toastShow')

3. props

nametypedefaultrequired
showBooleantruefalse
typeStringtoastTextfalse
timeoutNumber1600false
textString正在提交false

4. methods

function nameargumentdescription
getTypetype = toastText,toastIcontype
showToast@param text, timeout@returns {Promise}

5. demo

props type is 'toastIcon':

toastText

props type is 'toastText':

toastIcon


License

MIT