From 984e7fc9d1fcde19682bad7d7fe49c2668710bdf Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Sun, 6 Mar 2016 15:11:19 -0500 Subject: [PATCH] feat(plugin): add launch navigator https://github.com/driftyco/ionic-native/issues/18 --- src/plugins/launchnavigator.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/launchnavigator.ts b/src/plugins/launchnavigator.ts index 8b930090..2e42da1e 100644 --- a/src/plugins/launchnavigator.ts +++ b/src/plugins/launchnavigator.ts @@ -56,9 +56,11 @@ export interface launchNavigatorOptions { * * @usage * ```js - * Badge.set(10); - * Badge.increase(); - * Badge.clear(); + * LaunchNavigator.navigate("Toronto, ON", "London, ON") + * .then( + * success => console.log("Launched navigator"), + * error => console.log("Error launching navigator", error) + * ); * ``` */ @Plugin({