How to show different widgets (different productIds) on different pages in an (Angular) Single Page Application?
Description: How to show different widgets (different productIds) on different pages in an (Angular) Single Page Application? I am able to use .shutdown() to delete my widget after destorying my view, but how to re-initialize for a different productId? I solved it by creating a clone of your widget script and adding a new feature // Manual Adjustments needed to support multiple product switching // This is needed to be able to manually re-initialize window.$sleek = []; window.initSleek = productId => { window.$sleek = new sleek(productId); }; window.shutdownSleek = () => { window.$sleek.shutdown(); }; I call shutdown() first on one page. And my own initSleek({productId})) on another. Could you add something like this as default features? I don't want to adjust your scripts.

More in Improvement
- Restore hub color and button size customization and add preview in design v2
- Keep custom domain config when a plan is downgraded
- Security Issues
- API and SSO keys are reset when a subscription ends and don't come back after resubscribing
- Group less important buttons in the Review section under a "More" menu
