Closed JeroenVinke closed 8 years ago
Trigger is working fine by the way, just wonder if delegate should work also
You will need to specify that your custom event bubbles.
Add bubbles: true
to your options that you are passing to the CustomEvent ctor.
Ah, yes, having it bubble fixed the problem. :+1:
When raising a DOM event like this:
it can't be registered to with a delegate it seems:
plunker: http://plnkr.co/edit/xiu4Cp8DxY7Wqjtki9LG?p=preview
Is this expected?