Skip to content

docs: document Element.addJsInitializer#5596

Open
Artur- wants to merge 2 commits into
mainfrom
js-initializer
Open

docs: document Element.addJsInitializer#5596
Artur- wants to merge 2 commits into
mainfrom
js-initializer

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented May 19, 2026

Adds a section to the calling-javascript reference covering the new
scoped client-side lifecycle API: when to use it over executeJs, how
re-attach is handled, and the synchronous cleanup-return constraint.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-5596.fly.dev

Built from 901ccc1

Adds a section to the calling-javascript reference covering the new
scoped client-side lifecycle API: when to use it over executeJs, how
re-attach is handled, and the synchronous cleanup-return constraint.
@Artur- Artur- marked this pull request as ready for review May 20, 2026 09:15
@Artur- Artur- requested a review from Legioth May 20, 2026 09:15
Reflect two changes made in vaadin/flow#24366 after review:
- Reword "acquires a fresh client-side DOM node" to match the new
  javadoc phrasing
- Non-function return values are now logged as a client-side error
  rather than silently treated as "no cleanup"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎Iteration reviews

Development

Successfully merging this pull request may close these issues.

2 participants