From 64ca73e5ccf4163fcd4044257d875727f34c0b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20JAIS?= Date: Mon, 12 Aug 2019 06:52:03 +0200 Subject: [PATCH] docs(wonderpush): fix usage formatting (#3137) --- src/@ionic-native/plugins/wonderpush/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/wonderpush/index.ts b/src/@ionic-native/plugins/wonderpush/index.ts index ce56fe1a3..c5131acdf 100644 --- a/src/@ionic-native/plugins/wonderpush/index.ts +++ b/src/@ionic-native/plugins/wonderpush/index.ts @@ -191,7 +191,6 @@ export class UserPreferencesMethods extends NestedObject { * 1. set REQUIRES_USER_CONSENT=true to enable GDPR compliance. * 2. WonderPush doesn't start until setUserConsent(true) is called. * const onClick = (userConsent: boolean) => this.wonderPush.setUserConsent(userConsent); - * ``` * * // Listen to notification clicks * document.addEventListener('wonderpush.notificationOpen', function(event) { @@ -200,6 +199,7 @@ export class UserPreferencesMethods extends NestedObject { * console.log('Silent notification', event.notification); * } * }); + * ``` * * @interfaces * WonderPushChannel