feat(social-sharing): add setIPadPopupCoordinates method (#1497)

* refactor(social sharing): added missing method

fix #1288

* Update index.ts
This commit is contained in:
Daniel Sogl 2017-05-09 23:33:10 +02:00 committed by Ibby Hadeed
parent 70c9558d2b
commit 65a8095e5f

View File

@ -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 { }
}