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

Give some way to access the lifecycle of elements defined in slots #1512

Open
sdegueldre opened this issue Aug 17, 2023 · 0 comments
Open

Give some way to access the lifecycle of elements defined in slots #1512

sdegueldre opened this issue Aug 17, 2023 · 0 comments
Labels
owl-3 features for owl 3
Milestone

Comments

@sdegueldre
Copy link
Contributor

Currently, if you want to have a mount/unmount side effect for an element defined in a slot, you are out of luck: the lifecycle is controlled by the slot-caller and unless they expose an API for it, you cannot react to the mount/unmount of an element in a slot defined by a component inside that component. Probably solved by proper callback refs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
owl-3 features for owl 3
Projects
None yet
Development

No branches or pull requests

1 participant