- From: Beni Cherniavsky-Paskin <notifications@github.com>
- Date: Sun, 10 Feb 2019 06:42:44 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 10 February 2019 14:43:06 UTC
Not sure if this was proposed yet, but how about stuffing the supported options onto the functions/methods that take them? If I want to know how to call `someElem.addEventListener(...)`, I'll probe `someElem.addEventListener.supportedOptions` or `someElem.addEventListener.AddEventListenerOptions` or something like that. Minimal namespace pollution, and a pretty obvious place to look? (For dictionaries taken by multiple functions, or methods that exist on multiple objects, such as `.addEventListener`, the specific standard should probably promise that the supported options are same for all places. Or not.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/107#issuecomment-462138393
Received on Sunday, 10 February 2019 14:43:06 UTC