File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -617,13 +617,13 @@ function $RootScopeProvider(){
617
617
* The event listener function format is: `function(event, args...)`. The `event` object
618
618
* passed into the listener has the following attributes:
619
619
*
620
- * - `targetScope` - {Scope}: the scope on which the event was `$emit`-ed or `$broadcast`-ed.
621
- * - `currentScope` - {Scope}: the current scope which is handling the event.
622
- * - `name` - {string}: Name of the event.
623
- * - `stopPropagation` - {function=}: calling `stopPropagation` function will cancel further event propagation
624
- * (available only for events that were `$emit`-ed).
625
- * - `preventDefault` - {function}: calling `preventDefault` sets `defaultPrevented` flag to true.
626
- * - `defaultPrevented` - {boolean}: true if `preventDefault` was called.
620
+ * - `targetScope` - ` {Scope}` : the scope on which the event was `$emit`-ed or `$broadcast`-ed.
621
+ * - `currentScope` - ` {Scope}` : the current scope which is handling the event.
622
+ * - `name` - ` {string}` : Name of the event.
623
+ * - `stopPropagation` - ` {function=}` : calling `stopPropagation` function will cancel further event
624
+ * propagation (available only for events that were `$emit`-ed).
625
+ * - `preventDefault` - ` {function}` : calling `preventDefault` sets `defaultPrevented` flag to true.
626
+ * - `defaultPrevented` - ` {boolean}` : true if `preventDefault` was called.
627
627
*/
628
628
$on : function ( name , listener ) {
629
629
var namedListeners = this . $$listeners [ name ] ;
You can’t perform that action at this time.
0 commit comments