WebShare Op

WebShare

Opens a sharing dialog to share text and images


<p>some browsers (mostly mobile) support the native web-share-api and open a sharing dialog that let&#39;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 &quot;web-share&quot; feature to make this work on firefox.</p>


Full Name
  • Ops.Devices.Browser.WebShare
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubCompatibilityTest Patches


INPUT PORTS


Text (String)

<p>text to share</p>

URL (String)

<p>url to share</p>

File

Base64 File (String)
Data URL (String)
Filetype (String)
Filename (String)
Share (Trigger)

OUTPUT PORTS


Status (String)

<p>success/error</p>

Supported (Number)

<p>true/false for browser support of web-share-api</p>


Patches using WebShare

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2022-03-22 17:48
Ops.User.pandur.WebShare renamed to Ops.Dev.WebShareuser avatarpandur - 2022-03-22 18:45
Ops.Dev.WebShare renamed to Ops.Browser.WebShareuser avatarpandur - 2022-05-09 11:46
renameOps.Browser.WebShare renamed to Ops.Devices.Browser.WebShareuser avatarpandur - 2023-12-06 09:26