refactor(launchnavigator): add successCallback and errorCallback to options interface

these are currently needed to use the userSelect function
This commit is contained in:
Ibby Hadeed 2016-07-17 04:53:50 -04:00
parent 3a1a3ceabc
commit 6ee645a976

View File

@ -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. * 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; appSelectionCancelButton?: string;
successCallback?: Function;
errorCallback?: Function;
} }
/** /**
@ -60,7 +64,7 @@ export interface LaunchNavigatorOptions {
* *
* @usage * @usage
* Please refer to the plugin's repo for detailed usage. This docs page only explains the Native wrapper. * Please refer to the plugin's repo for detailed usage. This docs page only explains the Native wrapper.
* *
* ```js * ```js
* import {LaunchNavigator, LaunchNavigatorOptions} from 'ionic-native'; * import {LaunchNavigator, LaunchNavigatorOptions} from 'ionic-native';
* *