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

Commit 8292c21

Browse files
skwakmanjeffbcross
skwakman
authored andcommitted
Further clarify terminal parameter
Clarifies that the terminal parameter will also exclude execution of any directives and expressions in the directive's own template.
1 parent a3f44ed commit 8292c21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ng/compile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@
130130
* #### `terminal`
131131
* If set to true then the current `priority` will be the last set of directives
132132
* which will execute (any directives at the current priority will still execute
133-
* as the order of execution on same `priority` is undefined).
133+
* as the order of execution on same `priority` is undefined). Note that expressions
134+
* and other directives used in the directive's template will also be excluded from execution.
134135
*
135136
* #### `scope`
136137
* **If set to `true`,** then a new scope will be created for this directive. If multiple directives on the

0 commit comments

Comments
 (0)