sharepoint 中waiting screen dialog的使用方法(JSOM)
sharepoint中有一个种wait screen的弹出框,其实就是一直转圈,告诉你等待一会儿时间。用法如下:
弹出:
var watiDialog = SP.UI.ModalDialog.showWaitScreenWithNoClose("Wait for a moment please...", "It should be very quick.", 200, 500);
关闭方法:
如果页面有回调的话,它会自己关掉。如果是用JS的话,可以直接关掉:
watiDialog.close()