W3C home > Mailing lists > Public > public-webrtc@w3.org > September 2016

[webrtc-pc] The RTCDTMFToneChangeEvent constructor should have an optional init dict

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Thu, 22 Sep 2016 14:03:58 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-178618959-1474553037-sysbot+gh@w3.org>
foolip has just created a new issue for 
https://github.com/w3c/webrtc-pc:

== The RTCDTMFToneChangeEvent constructor should have an optional init
 dict ==
https://w3c.github.io/webrtc-pc/#rtcdtmftonechangeevent

It would also be good to give `tone` a default value so that it 
doesn't need to be spelled out in prose. In summary:

```WebIDL
[Constructor(DOMString type, optional RTCDTMFToneChangeEventInit 
eventInitDict)]
interface RTCDTMFToneChangeEvent : Event {
    readonly attribute DOMString tone;
};
dictionary RTCDTMFToneChangeEventInit : EventInit {
    DOMString tone = "";
};
```

Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/816 using your GitHub account
Received on Thursday, 22 September 2016 14:04:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:19 UTC