Skip to content

Commit

Permalink
Merge pull request #1512 from Shrugs/patch-1
Browse files Browse the repository at this point in the history
trasnacted -> transacted in PRIMER.md
  • Loading branch information
kevinpschaaf committed May 12, 2015
2 parents 24224da + 0fbde30 commit e678525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PRIMER.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ The following methods are provided:
* `Polymer.dom(node).parentNode`
* `Polymer.dom(contentElement).getDistributedNodes()`
* `Polymer.dom(node).getDestinationInsertionPoints()`
* `Polymer.dom.flush()` - The insert, append, and remove operations are trasnacted lazily in certain cases for performance. In order to interrogate the dom (e.g. `offsetHeight`, `getComputedStyle`, etc.) immediately after one of these operations, call `Polymer.dom.flush()` first.
* `Polymer.dom.flush()` - The insert, append, and remove operations are transacted lazily in certain cases for performance. In order to interrogate the dom (e.g. `offsetHeight`, `getComputedStyle`, etc.) immediately after one of these operations, call `Polymer.dom.flush()` first.

Calling `append`/`insertBefore` where `parent` is a custom Polymer element adds the node to the light DOM of the element. In order to insert/append into the shadow root of a custom element, use `this.root` as the parent.

Expand Down

0 comments on commit e678525

Please sign in to comment.