Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Additional onUpdate and onDetach APIs for the dom pragma #828

Closed
agubler opened this issue Aug 19, 2020 · 0 comments · Fixed by #829
Closed

Enhancement: Additional onUpdate and onDetach APIs for the dom pragma #828

agubler opened this issue Aug 19, 2020 · 0 comments · Fixed by #829
Assignees
Labels
area: core Core enhancement New feature or request

Comments

@agubler
Copy link
Member

agubler commented Aug 19, 2020

Enhancement

The dom pragma offers an API, onAttach that is called then the node is appended to the DOM tree. This is useful for running any setup for external libraries required, however to fully support all the requirements of external libraries we should consider adding symmetrical APIs for onUpdate and onDetach that are executed when the node is updated and when the node is removed from the dom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Core enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant