- From: Hayato Ito <notifications@github.com>
- Date: Tue, 07 Jun 2016 18:37:23 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc:
Received on Wednesday, 8 June 2016 01:37:54 UTC
> I agree in the case author specified a value but we should just change the default value for EventInit for those special constructors when the value is missing.
Can we do that? I am afraid that it is confusing if EventInit's default value depends on Event's interface.
```
dictionary EventInit {
boolean bubbles = false;
boolean cancelable = false;
boolean composed = false;
};
```
I prefer not changing the default value, per Event interface.
Rather, I would like to think as if UA is doing like the following:
```
let e = new FocusEvent('xxx', { composed: true });
```
Thus, I would like users to specify it explicitly.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/513#issuecomment-224463602
Received on Wednesday, 8 June 2016 01:37:54 UTC