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.
- Ops.Devices.Browser.WebShare
- Core Op - Official cables op
- MIT
- caniuse.com: web-share
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch webshare op example
INPUT PORTS
text to share
url to share
File
OUTPUT PORTS
success/error
true/false for browser support of web-share-api