Skip to product menu
Skip to main content

Initializing the SDK

Invoking this method at the beginning is necessary since the other SDK methods will work only after its invocation.

Snippet

Copiedconst { SigmaSDK } = window;
const sdk=SigmaSDK.SPRINTS.init(() => {
		// after SDK initialization handle your code here.
	});

Using this sdk you can use the below custom events.

  • Getting the current location details
  • Invoking HTTP requests
  • Opening modal window
  • Communicating among widgets
  • Binding events
  • Showing user alerts
  • Having widget interactions