Skip to content

jackiealex/cloud-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

#cloud dialog is for 如数科技 ###how to init a dialog

var d = new CloudDialog({
    quickClose: false,
    ok: function  () {
        debugger
    },
    okValue: 'ok',
    buttons: [{
        text: 'dddd',
        disabled: true,
        handler: function  () {
            alert(1)
        }
    }, {
        text: 'dsdfdfn你啊当时的',
        handler: function  (e) {
            debugger
        }
    }]
})
d.showModal()

###options (the values are default)

{
	title: '',
	quickClose: false,
	content: '确认要删除当前报销单模版?',
	width: 240,
	className: 'text-align',
	buttonAlign: 'center',
	buttons: [
		 
	],
	ok: null,
	cancel: null,
	onShow: function  () {
	},
	onHide: function  () {
	},
	onDestroy: function  (argument) {
		
	},
	okDisabled: false,
	okValue: '',
	cancelDisabled: false,
	cancelValue: ''
}

About

a dialog js lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published