mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
refactor(launchnavigator): add successCallback and errorCallback to options interface
these are currently needed to use the userSelect function
This commit is contained in:
parent
3a1a3ceabc
commit
6ee645a976
@ -51,6 +51,10 @@ export interface LaunchNavigatorOptions {
|
||||
* text to display for the cancel button in the native picker which enables user to select which navigation app to launch. Defaults to "Cancel" if not specified.
|
||||
*/
|
||||
appSelectionCancelButton?: string;
|
||||
|
||||
successCallback?: Function;
|
||||
|
||||
errorCallback?: Function;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -60,7 +64,7 @@ export interface LaunchNavigatorOptions {
|
||||
*
|
||||
* @usage
|
||||
* Please refer to the plugin's repo for detailed usage. This docs page only explains the Native wrapper.
|
||||
*
|
||||
*
|
||||
* ```js
|
||||
* import {LaunchNavigator, LaunchNavigatorOptions} from 'ionic-native';
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user