- From: Matthew Phillips <matthew@bitovi.com>
- Date: Wed, 13 Jan 2016 21:36:20 -0500
- To: public-html <public-html@w3.org>
Received on Thursday, 14 January 2016 02:36:52 UTC
This would allow private custom events, to avoid name collision.
var myEvent = Symbol('custom-event');
el.addEventListener(myEvent, fn);
var event = new CustomEvent(myEvent, { bubbles: true });
el.dispatchEvent(event);
--
Bitovi
Development | Design | Training | Open Source
Received on Thursday, 14 January 2016 02:36:52 UTC