[whatwg/dom] Clarification on construction and creation of events (#372)

Could you kindly provide a bit more guidance with respect to creation and construction of events? Right now, one can do:

>  Create an event using FooBar interface, and let `x` be the result. 

But, the algorithm has not called x's constructor - not has it set its type. 

If I'm using "create an event", do I then call the constructor straight after with the type?  Why not allow `type` to be provided with "create an event"? 

Maybe the spec could provide an example of the ideal order for these. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/372

Received on Thursday, 10 November 2016 02:26:40 UTC