You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you put this in connect() then it'll re-run every time the element is re-added to the DOM, which seems to be erroneous, as event listeners persist across removal and re-adding to the DOM. So you just want to do this once, e.g. in initialize or onReady.
The text was updated successfully, but these errors were encountered:
Suppose you want to do something like:
If you put this in
connect()
then it'll re-run every time the element is re-added to the DOM, which seems to be erroneous, as event listeners persist across removal and re-adding to the DOM. So you just want to do this once, e.g. in initialize or onReady.The text was updated successfully, but these errors were encountered: