From ddfce16ebdf25213e0974569b947958721c73abe Mon Sep 17 00:00:00 2001 From: Michael Mafort Date: Wed, 6 Apr 2016 11:36:39 -0300 Subject: [PATCH] Update events.ts Improve documentation with the import and constructor initialization. --- ionic/util/events.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ionic/util/events.ts b/ionic/util/events.ts index 413e4b459d..839588ab70 100644 --- a/ionic/util/events.ts +++ b/ionic/util/events.ts @@ -6,6 +6,10 @@ * * @usage * ```ts + * import {Events} from 'ionic-angular'; + * + * constructor(public events: Event) {} + * * // first page (publish an event when a user is created) * function createUser(user) { * console.log('User created!')