Skip to content

Commit cbff448

Browse files
committed
typo in attachChild docs - fixes ractivejs/ractive#2863
1 parent 471ff64 commit cbff448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/edge/ractive.attachChild().md.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ When a child is attached to a parent, the child's `parent` property is updated i
1313

1414
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.
1515

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.
1717

1818
> ### ractive.attachChild( child[, options] )
1919
> Returns a `Promise` (see {{{createLink 'Promises'}}}) that resolves with the child instance when any transitions are complete.

0 commit comments

Comments
 (0)