mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
docs(documentation): cosmetically improve the documentation
This commit is contained in:
@ -13,7 +13,8 @@ import { ScrollView } from './scroll-view';
|
||||
* import { Events } from 'ionic-angular';
|
||||
*
|
||||
* // first page (publish an event when a user is created)
|
||||
* constructor(public events: Events) {}
|
||||
* constructor(public events: Events) { }
|
||||
*
|
||||
* createUser(user) {
|
||||
* console.log('User created!')
|
||||
* events.publish('user:created', user, Date.now());
|
||||
|
Reference in New Issue
Block a user