This demo shows how the Classy Embedded SDK lifecycle APIs work in a Single Page Application.
This is the home page. The SDK is not initialized here.
Click "Donate" to navigate to the donation page and see the SDK initialize.
Campaign ID: unset
This demonstrates the Classy Embedded SDK lifecycle APIs:
eg.init() - Initialize the SDKeg.destroy() - Clean up when leaving the pageeg.isInitialized() - Check SDK stateThe SDK is not initialized on this page.