ShareScreen

UI for sharing the interactive video (used in place of the native OS sharing when one isn’t available)
Props
isTouchEnabled (boolean)- Whether the devices is touch enabledsharePlatforms- A list of social platforms available to share on and the relevant data required forshareOnPlatform
API
show()- Shows the share screenhide()- Hides the share screenshareOnPlatform(projectLink {string}, platformUrl {string}, platform {string})- Shares on a social platform.
Events
- `SHARESCREEN_OPEN: ekoshell.menu.share.open’,
- `SHARESCREEN_CLOSE: ekoshell.menu.share.close’,
- `SHARESCREEN_PLATFORM: ekoshell.menu.share.platform’,
- `SHARESCREEN_COPY: ekoshell.menu.share.copy’
Plugin Options
Accepts a list of social platforms available to share on and their relevant data.
Gets passed on as a prop.
Schema:
"sharescreen": {
"type": "object",
"properties": {
"platforms": {
"type": "array",
"items": {
"type": "object",
"required": [
"platform",
"url"
],
"properties": {
"platform": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}
}
parentContainer
root