WebShare Op
Opens a sharing dialog to share text and images
Summary (oneliner)
<p>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.</p> <p>when triggered, this op opens the sharing dialog on browsers that support the api.</p> <p>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.</p> <p>if you do this in/from an iframe make sure you allow the "web-share" feature to make this work on firefox.</p>
- 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
<p>text to share</p>
<p>url to share</p>
File
OUTPUT PORTS
<p>success/error</p>
<p>true/false for browser support of web-share-api</p>