Skip to content

Commit 31a3a19

Browse files
committed
doc(Visibility): fix inline docs
1 parent a50b8a2 commit 31a3a19

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/angular2/src/core/annotations_impl/visibility.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ export class Parent extends Visibility {
108108
* Specifies that an injector should retrieve a dependency from any ancestor element within the same
109109
* shadow boundary.
110110
*
111-
* An ancestor is any element between the parent element and shadow root.
111+
* An ancestor is any element between the parent element and the shadow root.
112112
*
113+
* Use {@link Unbounded} if you need to cross upper shadow boundaries.
113114
*
114115
* ## Example
115116
*
@@ -166,10 +167,10 @@ export class Ancestor extends Visibility {
166167
}
167168

168169
/**
169-
* Specifies that an injector should retrieve a dependency from any ancestor element.
170-
*
171-
* An ancestor is any element between the parent element and shadow root.
170+
* Specifies that an injector should retrieve a dependency from any ancestor element, crossing
171+
* component boundaries.
172172
*
173+
* Use {@link Ancestor} to look for ancestors within the current shadow boundary only.
173174
*
174175
* ## Example
175176
*

0 commit comments

Comments
 (0)