SharePlugin

share

share(options: ShareOptions): Promise<any>
Show a Share modal for sharing content in your app with other apps
options ShareOptions
Returns: Promise<any>

addListener

addListener(eventName: string, listenerFunc: Function): PluginListenerHandle
eventName string
listenerFunc Function
Returns: PluginListenerHandle

Interfaces Used

ShareOptions

interface ShareOptions {
// Set a title for the share modal. Android only
dialogTitle ?: string;
// Set some text to share
text ?: string;
// Set a title for any message. This will be the subject if sharing to email
title ?: string;
// Set a URL to share
url ?: string;
}