mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +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:
@@ -6,7 +6,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||
* Plays YouTube videos in Native YouTube App
|
||||
*
|
||||
* @usage
|
||||
* ```
|
||||
* ```typescript
|
||||
* import { YoutubeVideoPlayer } from '@ionic-native/youtube-video-player';
|
||||
*
|
||||
* constructor(private youtube: YoutubeVideoPlayer) { }
|
||||
@@ -31,6 +31,6 @@ export class YoutubeVideoPlayer extends IonicNativePlugin {
|
||||
* Plays a YouTube video
|
||||
* @param videoId {string} Video ID
|
||||
*/
|
||||
@Cordova({sync: true})
|
||||
@Cordova({ sync: true })
|
||||
openVideo(videoId: string): void { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user