Skip to content

A SharePoint 'Script-On-Demand' (SOD) loader plugin for SystemJS.

License

Notifications You must be signed in to change notification settings

dennispg/systemjs-plugin-sharepoint

Repository files navigation

plugin-sharepoint

A SharePoint 'Script-On-Demand' (SOD) loader plugin for SystemJS.

Installing

For installing with jspm, run jspm install sharepoint.

SP.SOD Concept

SharePoint provides a loading mechanism called 'Script-On-Demand' to load all of it's own JavaScript dependencies. There are times in custom code when you must use this mechanism to ensure that specific SharePoint functionality has been loaded before your code can run. There are various accepted methods to do this (such as SP.SOD.executeOrDelayUntilScriptLoaded), but they are generally clunky.

For SharePoint projects using system.js, this plugin allows you to load SOD dependencies using familiar syntax.

Basic Use

import 'sp.js!sharepoint';

About

A SharePoint 'Script-On-Demand' (SOD) loader plugin for SystemJS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published