@winman-f2e/nw-confirm

1.25.2 • Public • Published

nw-confirm

安装

$ yarn add nw-confirm

使用

import confirm from 'nw-confirm'

confirm({
    content: '我是一些内容,很长的内容爱啦啦阿拉啦啦啦啦啦',
    okText: '确定',
    cancelText: '取消'
}).then(() => {
    console.log('确定')
}).catch(() => {
    console.log('取消')
})

接受的参数

{
    content = '', 
    okText = '确定', 
    cancelText = '取消',
    maskClosable = true,
    maskStyle = {},
    maskClassName = ''
}

Readme

Keywords

none

Package Sidebar

Install

npm i @winman-f2e/nw-confirm

Weekly Downloads

0

Version

1.25.2

License

none

Unpacked Size

4.01 kB

Total Files

3

Last publish

Collaborators

  • luofeiyue
  • whiskeyi
  • yousy
  • guoyeeg
  • azgaga
  • liushichuan
  • yaochen
  • shenyuan
  • aflyermin
  • ignous
  • jeekdong