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
To make easy communication between custom elements one could immagine to register all of them to a message channel, so all of them will get the payload when posting a message to that channel.
modifying like this would work better:
on_update_message(event){
if(this === event.target) ---> do nothing
}
set a flag in the event detail to turn on/off this behavior.
The text was updated successfully, but these errors were encountered:
To make easy communication between custom elements one could immagine to register all of them to a message channel, so all of them will get the payload when posting a message to that channel.
modifying like this would work better:
on_update_message(event){
if(this === event.target) ---> do nothing
}
set a flag in the event detail to turn on/off this behavior.
The text was updated successfully, but these errors were encountered: