From 0fbde3074f70ec4a8787c03a3f929d7222931566 Mon Sep 17 00:00:00 2001 From: Matt Condon Date: Mon, 11 May 2015 13:57:31 -0400 Subject: [PATCH] trasnacted -> transacted in PRIMER.md --- PRIMER.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRIMER.md b/PRIMER.md index 165efd195e..7f1009dcd4 100644 --- a/PRIMER.md +++ b/PRIMER.md @@ -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.