On Tue, Nov 9, 2021 at 10:48 AM Mike Taylor <[email protected]> wrote:

> Hi François,
>
> On 11/3/21 3:16 PM, 'François Beaufort 🇫🇷' via blink-dev wrote:
>
> Summary
>
> The HTMLInputElement showPicker() method allows web developers to
> programmatically show a browser picker for temporal, color, and file inputs.
>
> Blink component
>
> Blink>Forms
> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EForms>
>
> Motivation
>
> Developers have been asking for years for a way to programmatically open a
> browser date picker. See
> https://www.google.com/search?q=programmatically+open+date+picker+site:stackoverflow.com
> <https://www.google.com/search?q=programmatically+open+date+picker+site%3Astackoverflow.com>
>
> Because of that, they had to rely on custom widget libraries and CSS hacks
> for specific browsers.
>
> This is really cool - thanks for working on it. I was just thinking about
> the EyeDropper API proposal, which references input[type=color] in
> https://github.com/WICG/eyedropper-api/blob/main/README.md#extending-inputtypecolor
> .
>
> As a developer, it would be kind of nice to only have one method to keep
> in my head - did you consider aligning the method name w/ the EyeDropper
> API? (Also, if we did decide there was a use case for <select>
> <https://github.com/whatwg/html/issues/6909#issuecomment-888859929>,
> open() would be less awkward than HTMLSelectElement.showPicker).
>

These seem like good discussions to have on the spec thread, instead of a
Blink-specific mailing list :).


> later,
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/1b089863-3fe7-573c-a094-e5bcc1bb9aff%40chromium.org
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/1b089863-3fe7-573c-a094-e5bcc1bb9aff%40chromium.org?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM0wra-iptiHwbwSxAEJJqSLYP%2BLJ7VpCME5PZJAH5LE8z3ToQ%40mail.gmail.com.

Reply via email to