WebShare Op
Opens a sharing dialog to share text and images
Summary (oneliner)
some browsers (mostly mobile) support the native web-share-api and open a sharing dialog that let's you select an app to share content with.
when triggered, this op opens the sharing dialog on browsers that support the api.
some browsers (i.e. firefox mobile) do not implement sharing files at the moment, the op will fall back to sharing without and image in these cases.
if you do this in/from an iframe make sure you allow the "web-share" feature to make this work on firefox.
Brower support [caniuse.com]
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
text to share
url to share
File
Outputs
success/error
true/false for browser support of web-share-api
Patches using WebShare
Changelog
created op 2022-03-22 - pandur | |
Ops.User.pandur.WebShare renamed to Ops.Dev.WebShare 2022-03-22 - pandur | |
Ops.Dev.WebShare renamed to Ops.Browser.WebShare 2022-05-09 - pandur |