0.0.2 • Published 7 years ago
citong-dialog v0.0.2
The alert/confirm dialog for html;
usage
/** hide dialog */
function hideDialog()
/**
* ctx.content: 内容文字.
* ctx.confirm: function(){} // 点击确认键的回调.
* ctx.okText
*/
function showAlert(ctx)
/**
* ctx.content: 内容文字.
* ctx.confirm: function(){} // 点击确认键的回调.
* ctx.cancel: function(){} // 点击取消键的回调.
* ctx.okText:
* ctx.cancelText:
*/
function showConfirm(ctx)