Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 31b6bfa

Browse files
mernencaitp
authored andcommitted
docs(ngEventDirs): update remarks on behavior
The event directives haven't stopped propagation by default in a long time. If that behavior is desired, the handler may use the provided `$event` to call: $event.stopPropagation(); Closes #9640
1 parent 2d74323 commit 31b6bfa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ng/directive/ngEventDirs.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@
3333
</example>
3434
*/
3535
/*
36-
* A directive that allows creation of custom onclick handlers that are defined as angular
37-
* expressions and are compiled and executed within the current scope.
38-
*
39-
* Events that are handled via these handler are always configured not to propagate further.
36+
* A collection of directives that allows creation of custom event handlers that are defined as
37+
* angular expressions and are compiled and executed within the current scope.
4038
*/
4139
var ngEventDirectives = {};
4240

0 commit comments

Comments
 (0)