You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/edge/ractive.attachChild().md.hbs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ When a child is attached to a parent, the child's `parent` property is updated i
13
13
14
14
A child may be targeted to an {{{createLink'Components''anchor''anchors'}}} when it is attached. If a child has no specified target, then it is responsible for managing its own render cycle. If a child does have a specified target, then the parent will manage rendering and unrendering the child as appropriate in the same way that a regular component has a managed render cycle.
15
15
16
-
When a child is attached targeting an anchor, only anchors that belong directly to the parent are considered as hosts. However, and element or component queries on the parent instance, including live queries, will consider the child when trying to match both elements and components. There is also an option on the query methods that allows querying remote, unmanaged instances, so that non-anchored children can also be queried for elements and components.
16
+
When a child is attached targeting an anchor, only anchors that belong directly to the parent are considered as hosts. However, any element or component queries on the parent instance, including live queries, will consider the child when trying to match both elements and components. There is also an option on the query methods that allows querying remote, unmanaged instances, so that non-anchored children can also be queried for elements and components.
17
17
18
18
> ### ractive.attachChild( child[, options] )
19
19
> Returns a `Promise` (see {{{createLink'Promises'}}}) that resolves with the child instance when any transitions are complete.
0 commit comments