Skip to content

Check if component is attached before execute js #35

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

Open
huber-and opened this issue May 24, 2022 · 0 comments
Open

Check if component is attached before execute js #35

huber-and opened this issue May 24, 2022 · 0 comments

Comments

@huber-and
Copy link

There are several methods like addItem, setItem etc. which are execute JavaScript code.
When the component is not attached in that moment the browser will throw an exception due to undefined '_timeline' property.
Can you please check if the component is attached before execute js?

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

No branches or pull requests

1 participant