Helper.SP.CalloutManager.init().then(() => {
// Create the callout
let callout = Helper.SP.CalloutManager.createNewIfNecessary({
ID: "UniqueId",
launchPoint: document.querySelector("input[value='Run']"),
title: "My Custom Callout",
content: "<p>This is the content of the callout. An element can be applied instead of a string."
});
});
Helper.SP.ModalDialog.showWaitScreenWithNoClose("Loading the Data").then(dlg => {
// Do Stuff and then close the dialog
dlg.close();
});
Helper.SP.Notify.addNotifition("This is a notification.", false);
Helper.SP.SOD.executeOrDelayUntilScriptLoaded(() => {
// Do Stuff
}, "gd-sprest");
Helper.SP.Status.addStatus("Success", "This is a custom status.");
Generated using TypeDoc
SharePoint Components