mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-20 01:22:52 +08:00
commit
b307690cca
@ -1,7 +1,7 @@
|
|||||||
declare var window;
|
declare var window;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the ngCordova Angular module if we're running in ng1.
|
* Initialize the ionic.native Angular module if we're running in ng1.
|
||||||
* This iterates through the list of registered plugins and dynamically
|
* This iterates through the list of registered plugins and dynamically
|
||||||
* creates Angular 1 services of the form $cordovaSERVICE, ex: $cordovStatusBar.
|
* creates Angular 1 services of the form $cordovaSERVICE, ex: $cordovStatusBar.
|
||||||
*/
|
*/
|
||||||
@ -21,7 +21,7 @@ export function initAngular1(plugins) {
|
|||||||
}
|
}
|
||||||
funcs['name'] = name;
|
funcs['name'] = name;
|
||||||
return funcs;
|
return funcs;
|
||||||
}])
|
}]);
|
||||||
})(serviceName, cls, name);
|
})(serviceName, cls, name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ import {Plugin, Cordova} from './plugin';
|
|||||||
* if(available){
|
* if(available){
|
||||||
*
|
*
|
||||||
* SafariViewController.show({
|
* SafariViewController.show({
|
||||||
* utl: 'http://ionic.io',
|
* url: 'http://ionic.io',
|
||||||
* hidden: false,
|
* hidden: false,
|
||||||
* animated: false,
|
* animated: false,
|
||||||
* transition: 'curl',
|
* transition: 'curl',
|
||||||
|
Loading…
Reference in New Issue
Block a user