mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
style(): unify docs and spacing (#1448)
* typo(barcode-scanner): fixe circle lint error
* typo(docs): Unified the documentations
In some plugins the typescript markup was missing.
I also unified the console.log string from console.log("hello") to console.log('Hello') so any plugin page look the same.
This commit is contained in:
@@ -47,7 +47,7 @@ export class SocialSharing extends IonicNativePlugin {
|
||||
* @returns {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
share(message?: string, subject?: string, file?: string|string[], url?: string): Promise<any> { return; }
|
||||
share(message?: string, subject?: string, file?: string | string[], url?: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Shares using the share sheet with additional options and returns a result object or an error message (requires plugin version 5.1.0+)
|
||||
@@ -57,7 +57,7 @@ export class SocialSharing extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
platforms: ['iOS', 'Android']
|
||||
})
|
||||
shareWithOptions(options: { message?: string, subject?: string, files?: string|string[], url?: string, chooserTitle?: string }): Promise<any> { return; }
|
||||
shareWithOptions(options: { message?: string, subject?: string, files?: string | string[], url?: string, chooserTitle?: string }): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Checks if you can share via a specific app.
|
||||
@@ -194,7 +194,7 @@ export class SocialSharing extends IonicNativePlugin {
|
||||
successIndex: 6,
|
||||
errorIndex: 7
|
||||
})
|
||||
shareViaEmail(message: string, subject: string, to: string[], cc?: string[], bcc?: string[], files?: string|string[]): Promise<any> { return; }
|
||||
shareViaEmail(message: string, subject: string, to: string[], cc?: string[], bcc?: string[], files?: string | string[]): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Share via AppName
|
||||
|
||||
Reference in New Issue
Block a user