Socket
Socket
Sign inDemoInstall

presentation-capacitor-fivano

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    presentation-capacitor-fivano

Capacitor Plugin for presentation api


Version published
Maintainers
1
Install size
30.7 kB
Created

Readme

Source

presentation-capacitor

Capacitor Plugin for presentation api

Install

npm install presentation-capacitor
npx cap sync

API

  • openLink(...)
  • addListener('onSuccessLoadUrl', ...)
  • addListener('onFailLoadUrl', ...)
  • getDisplays()
  • Interfaces
openLink(options: { url: string; }) => Promise<{ success?: any; error?: any; url?: any; }>
ParamType
options{ url: string; }

Returns: Promise<{ success?: any; error?: any; url?: any; }>


addListener('onSuccessLoadUrl', ...)

addListener(eventName: 'onSuccessLoadUrl', listenerFunc: (data: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'onSuccessLoadUrl'
listenerFunc(data: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


addListener('onFailLoadUrl', ...)

addListener(eventName: 'onFailLoadUrl', listenerFunc: (data: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'onFailLoadUrl'
listenerFunc(data: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


getDisplays()

getDisplays() => Promise<{ displays: number; }>

Returns: Promise<{ displays: number; }>


Interfaces

PluginListenerHandle
PropType
remove() => Promise<void>

FAQs

Last updated on 29 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc