mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(Scope): fix argument docs for $on
This commit is contained in:
parent
3b317c5dcb
commit
250aec71f3
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ function $RootScopeProvider(){
|
|||
* event life cycle.
|
||||
*
|
||||
* @param {string} name Event name to listen on.
|
||||
* @param {function(event)} listener Function to call when the event is emitted.
|
||||
* @param {function(event, args...)} listener Function to call when the event is emitted.
|
||||
* @returns {function()} Returns a deregistration function for this listener.
|
||||
*
|
||||
* The event listener function format is: `function(event, args...)`. The `event` object
|
||||
|
|
|
|||
Loading…
Reference in a new issue