miniui的学习笔记(二)

1.mini.mask和unmask方法

//遮罩
mini.mask ( options )
options: {
    html: "",
    cls: "",
    style: ""
}    

//遮罩示例。 
mini.mask({   
	el: document.body, 
    cls: 'mini-mask-loading', 
    html: '数据保存中,请稍等...' 
}); 
//取消遮罩
mini.unmask(document.body);

2.mini.showMessageBox(options)

mini.showMessageBox(options)	
{
    title: String,                                              //标题
    message: String,									    	//提示消息
    buttons: ["ok", "no", "cancel"],    						//按钮
    iconCls: "mini-messagebox-question",		
    html: String,   
    callback: function(action){
    }
}

你可能感兴趣的:(学习笔记)