-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Labels
Description
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 Geolocation API
The Web Share APImoved to separate issue. [invokers] Share command #974
I'm not sure how the button invoketarget="geolocation" would work other than perhaps populating an input element using invoketarget.
Are there are other JavaScript APIs that match the same criteria?
rianmurnen