mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(events): updates comments to match implementation
This commit is contained in:
committed by
GitHub
parent
cdf5dd71cd
commit
7fff49bd4b
@@ -22,7 +22,7 @@ import { ScrollView } from '../util/scroll-view';
|
||||
*
|
||||
* // second page (listen for the user created event)
|
||||
* events.subscribe('user:created', (user, time) => {
|
||||
* // userEventData is an array of parameters, so grab our first and only arg
|
||||
* // user and time are the same arguments passed in `events.publish(user, time)`
|
||||
* console.log('Welcome', user, 'at', time);
|
||||
* });
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user