Exports
MSM2App: the shared client instance created by the libraryMSM2AuthHelper: authentication helper (MSM2.App.AuthHelper)MSM2HtmlHelper: HTML helper (MSM2.App.HtmlHelper)MSM2ScriptHelper: script loading helper (MSM2.App.ScriptHelper)
Application setup
Create one shared client instance and export it from an application module:Examples
Notes
- You don’t need to create
new MSM2.App()yourself when you usemsm-components. MSM2must already exist in the browser at the momentmsm-componentsis loaded.