- From: Matt Giuca <notifications@github.com>
- Date: Tue, 16 Oct 2018 21:40:43 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 October 2018 04:41:13 UTC
> For example, is share() really several methods in one? Might a discrete shareFile() method have been cleaner? I'm not saying it is, just using it as an example. That decision isn't fixed in stone yet. It's part of this proposal: http://wicg.github.io/web-share/level-2/ Maybe, but we also want to be able to share a file along with the other metadata at the same time (e.g., share a URL along with a screenshot). What I'm asking here, at a high level, is: should there be a standardized pattern for how to do this kind of sub-feature detection, or should each API build its own? The suggestion to use a separate `shareFile` method suggests that each API should be finding its own way of supplying the new features. -- 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-430487258
Received on Wednesday, 17 October 2018 04:41:13 UTC