【文件属性】:
文件名称:ez-confirm:角度确认对话框
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-21 05:42:45
JavaScript
ez确认
角度确认对话框
演示版
查看 。
依存关系
或
聚焦模式显示上的确认按钮
用法
默认
EzConfirm . create ( ) . then ( function ( ) {
alert ( 'You confirmed!' ) ;
} , function ( ) {
alert ( 'You cancelled or dismissed.' ) ;
} ) ;
自定义标题和文本配置
EzConfirm . create ( { heading : 'Ok but...' , text : 'Are you sure Steven?' } ) . then ( function ( ) {
alert ( 'Fire the missiles!' ) ;
} , function ( ) {
alert ( 'Ok maybe next time?'
【文件预览】:
ez-confirm-master
----index.html(2KB)
----bower.json(283B)
----Gruntfile.js(2KB)
----src()
--------ez-confirm.less(81B)
--------ez-confirm.js(1KB)
--------ez-confirm-tpl.html(781B)
----LICENSE(1KB)
----README.md(1KB)
----dist()
--------ez-confirm.min.css(48B)
--------ez-confirm.min.js(1KB)
--------ez-confirm-tpl.js(1KB)
----.gitignore(44B)
----package.json(924B)