mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
Merge pull request #6058 from michaelmafort/patch-1
docs(): update events.ts
This commit is contained in:
@ -6,6 +6,10 @@
|
|||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```ts
|
* ```ts
|
||||||
|
* import {Events} from 'ionic-angular';
|
||||||
|
*
|
||||||
|
* constructor(public events: Event) {}
|
||||||
|
*
|
||||||
* // first page (publish an event when a user is created)
|
* // first page (publish an event when a user is created)
|
||||||
* function createUser(user) {
|
* function createUser(user) {
|
||||||
* console.log('User created!')
|
* console.log('User created!')
|
||||||
|
Reference in New Issue
Block a user