Skip to content

Commit 6b402c3

Browse files
committed
docs(ionContent): clarify content gets child scope
Closes #1392
1 parent 8caa043 commit 6b402c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/angular/directive/content.js

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
* directive, and infinite scrolling with the {@link ionic.directive:ionInfiniteScroll}
1919
* directive.
2020
*
21+
* Be aware that this directive gets its own child scope. If you do not understand why this
22+
* is important, you can read [https://docs.angularjs.org/guide/scope](https://docs.angularjs.org/guide/scope).
23+
*
2124
* @param {string=} delegate-handle The handle used to identify this scrollView
2225
* with {@link ionic.service:$ionicScrollDelegate}.
2326
* @param {boolean=} padding Whether to add padding to the content.

0 commit comments

Comments
 (0)