Open adactio opened 6 months ago
So to copy across from the other issue we've actually already got fullscreen API covered in the proposal, we've also resolved to look into a clipboard copy action. So something like web share could fit in.
I am wary of trying to overload invokers for everything but that's not to say these aren't worth looking into.
Just as an fyi v1 of invokers is planned to be just dialog and popover actions.
These additional ones will be proposed as follow ups allowing us to discuss each of them on their own merit without holding up the core idea.
There hasn't been any discussion on this issue for a while, so we're marking it as stale. If you choose to kick off the discussion again, we'll remove the 'stale' label.
Another potential inclusion: Web Install API.
Could
invokeTarget
be used to provide a declarative option for some JavaScript APIs? I'm thinking specifcally of JavaScript APIs that require a user interaction (and so most demos involve the creation of a button element anyway) and that don't currently have an equivalent HTML element.For example:
The Fullscreen APIalready proposed.The Web Share APImoved to separate issue. https://github.com/openui/open-ui/issues/974I'm not sure how the
button invoketarget="geolocation"
would work other than perhaps populating aninput
element usinginvoketarget
.Are there are other JavaScript APIs that match the same criteria?