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

Commit e6e6498

Browse files
doc(ngIf): mention multiElement in documentation
1 parent 507ee2d commit e6e6498

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ng/directive/ngIf.js

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
* Additionally, you can provide animations via the `ngAnimate` module to animate the `enter`
3333
* and `leave` effects.
3434
*
35+
* You can use ng-if across few dom elements. First element needs `ng-if-start="expresion"`, and the
36+
* last one `ng-if-end`. Those two and all elements between will hide/appear together.
37+
*
3538
* @animations
3639
* enter - happens just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container
3740
* leave - happens just before the `ngIf` contents are removed from the DOM

0 commit comments

Comments
 (0)