Skip to content

feat: load PageSubscription.js via TypoScript and expose on window - #5

Open
Jeggle-s wants to merge 1 commit into
mainfrom
feature/window-registration
Open

feat: load PageSubscription.js via TypoScript and expose on window#5
Jeggle-s wants to merge 1 commit into
mainfrom
feature/window-registration

Conversation

@Jeggle-s

Copy link
Copy Markdown
  • Register window.PageSubscription in PageSubscription.js so consumers can use the API without a bundler or manual import
  • Load PageSubscription.js via page.includeJSLibs in the frontend so it is available before any dependent scripts execute
  • Update README to document the window-based usage and mention the ES module export as an alternative for bundler setups

- Register window.PageSubscription in PageSubscription.js so consumers
  can use the API without a bundler or manual import
- Load PageSubscription.js via page.includeJSLibs in the frontend
  so it is available before any dependent scripts execute
- Update README to document the window-based usage and mention the
  ES module export as an alternative for bundler setups
@Jeggle-s
Jeggle-s requested a review from pipaltree March 23, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant