3 ms·
As kind of an old dog, I can't help but think of Active X controls from back in the day. That's what this reminds me of. Kinda. Are there some guidelines and s
by saltydogdev 9y ago
As kind of an old dog, I can't help but think of Active X controls from back in the day. That's what this reminds me of. Kinda.
Are there some guidelines and standardization of the kinds of events components emit, and what data is passed with the event? So that I don't have to look up all the variants of event names and data.
- gramstrong 9y agoA custom element is just an HTML element, so it is a part of the HTML standard. If you log the object you can see it has all of the same properties as an HTML element, plus whatever you've extended it with. So all emitting events and event callbacks will behave the same as a standard element (except for any custom event listeners and emitters that you add).