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:
@@ -5,10 +5,10 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
* Options for the video playback using the `play` function.
|
||||
*/
|
||||
export interface VideoOptions {
|
||||
/**
|
||||
* Set the initial volume of the video playback, where 0.0 is 0% volume and 1.0 is 100%.
|
||||
* For example: for a volume of 30% set the value to 0.3.
|
||||
*/
|
||||
/**
|
||||
* Set the initial volume of the video playback, where 0.0 is 0% volume and 1.0 is 100%.
|
||||
* For example: for a volume of 30% set the value to 0.3.
|
||||
*/
|
||||
volume?: number;
|
||||
/**
|
||||
* There are to options for the scaling mode. SCALE_TO_FIT which is default and SCALE_TO_FIT_WITH_CROPPING.
|
||||
@@ -33,7 +33,7 @@ export interface VideoOptions {
|
||||
* ...
|
||||
*
|
||||
* // Playing a video.
|
||||
* this.videoPlayer.play("file:///android_asset/www/movie.mp4").then(() => {
|
||||
* this.videoPlayer.play('file:///android_asset/www/movie.mp4').then(() => {
|
||||
* console.log('video completed');
|
||||
* }).catch(err => {
|
||||
* console.log(err);
|
||||
|
||||
Reference in New Issue
Block a user