-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Consider adding broadcast #145
Comments
+1, see this SO question |
+1 |
I posted a response to the SO question. I think @sorvell might be describing a one-way message passing system which only flows to an element's children, whereas the SO thread seems to want PubSub. |
Without going as far as full pubsub implementation, a simple broadcast or event bus capability would go a long way. The solution you linked to does the trick perfectly, I should start having a look at those articles (no clues in the API section). Shouldn't that |
Yep, we're discussing it. Thread to follow is here: On Mon, Jun 16, 2014 at 9:17 AM, Renaud Fontana [email protected]
|
Broadcast seems like a bad idea at this point. There are other patterns:
|
Sometimes a custom elements wants to give its descendants some generic information which they may, optionally, respond to.
This is very much like an event, but it's sent downward to children.
The text was updated successfully, but these errors were encountered: