Hi, in DeviceLightEvent.webidl,
The first line of the code [Constructor(DOMString type, optional DeviceLightEventInit eventInitDict)] Can anyone explain this please? Second, what does dictionary type mean? dictionary DeviceLightEventInit : EventInit { unrestricted double value = Infinity; }; I went through the WebIDL bindings page but still dont get the point. Thanks in advance. _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g