mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 18:42:31 +08:00
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
This commit is contained in:
committed by
Caitlin Potter
parent
2d74323e3e
commit
31b6bfaaf4
@@ -33,10 +33,8 @@
|
||||
</example>
|
||||
*/
|
||||
/*
|
||||
* A directive that allows creation of custom onclick handlers that are defined as angular
|
||||
* expressions and are compiled and executed within the current scope.
|
||||
*
|
||||
* Events that are handled via these handler are always configured not to propagate further.
|
||||
* A collection of directives that allows creation of custom event handlers that are defined as
|
||||
* angular expressions and are compiled and executed within the current scope.
|
||||
*/
|
||||
var ngEventDirectives = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user