mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
feat(social-sharing): add setIPadPopupCoordinates method (#1497)
* refactor(social sharing): added missing method fix #1288 * Update index.ts
This commit is contained in:
parent
70c9558d2b
commit
65a8095e5f
@ -211,4 +211,14 @@ export class SocialSharing extends IonicNativePlugin {
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
shareVia(appName: string, message: string, subject?: string, image?: string, url?: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* defines the popup position before call the share method.
|
||||
* @param targetBounds {string} left, top, width, height
|
||||
*/
|
||||
@Cordova({
|
||||
sync: true,
|
||||
platforms: ['iOS']
|
||||
})
|
||||
setIPadPopupCoordinates(targetBounds: string): void { }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user