1.0.6 • Published 7 years ago

tvm-popup v1.0.6

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

npm install --save tvm-popup

import popup from 'tvm-popup'

@param {object} option - one entry param to function popJs

@param {string} option.type - accept 'success' 'error' 'loading' ''

@param {string} option.title

@param {(string|string[])} option.desc

@param {number} option.width = 80 - max width 100% min width 80px

@param {number} option.timing = 3000 - autoclose when pop has timing

@param {function} option.mounted - before pop's dom into html

@callback callback

@param {function} option.callback - after pop's dom removed

1.0.6

7 years ago

1.0.5

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago