Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
minor docs tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Jun 24, 2014
1 parent b86dac3 commit e0d648f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions core-animated-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
In general, a transition is applied to elements marked with a certain attribute. For example,
`hero-transition` applies the transition on elements with the `hero` and `hero-id` attribute.
Among the transitions included with `core-animated-pages`, script-based transitions such as
`hero-transition` generally look for elements up to one level of shadow root from the
`hero-transition` generally look for elements up to one level of shadowRoot from the
`core-animated-pages` element, and CSS-based transitions such as `cross-fade` look for elements
within any shadow root of the page. This means which means you can use custom elements as a
page and mark elements in their shadow roots as heroes, or mark elements in deeper shadow roots
with other transitions.
within any shadowRoot within the `core-animated-pages` element. This means you can use
custom elements as pages and mark elements in their shadowRoots as heroes, or mark
elements in deeper shadowRoots with other transitions.
Example:
Expand Down Expand Up @@ -126,7 +126,7 @@
// The below element is one level of shadow from the core-animated-pages and will
// be transitioned.
<div id="hero1" hero-id="foo" hero></div>
// The below element contains a hero inside its shadow root making it two levels away
// The below element contains a hero inside its shadowRoot making it two levels away
// from the core-animated-pages, and will not be transitioned.
<x-el></x-el>
</template>
Expand Down
2 changes: 1 addition & 1 deletion transitions/hero-transition.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
attribute and a single element appears to translate and scale smoothly between
the two positions during a page transition.
Both elements from the source and destination pages must shared the same `hero-id`
Both elements from the source and destination pages must share the same `hero-id`
and must both contain the `hero` attribute to trigger the transition. The separate
`hero` attribute allows you to use binding to configure the transition:
Expand Down

0 comments on commit e0d648f

Please sign in to comment.