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

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Jun 24, 2014
1 parent e0d648f commit c2a6c48
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core-animated-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
<!--
`core-animated-pages` selects one of its children "pages" to show and runs a transition
when switching between them. Transitions to run are specified in the `transitions`
attribute as a space-delimited string,
when switching between them. The transitions are designed to be pluggable, and can
accept any object that is an instance of a `core-transition-pages`. Transitions to run
are specified in the `transitions` attribute as a space-delimited string of `id`s of
transition elements. Several transitions are available with `core-animated-pages` by
default, including `hero-transition`, `cross-fade`, and `tile-cascade`.
Example:
Expand Down Expand Up @@ -42,6 +45,7 @@
background-color: green;
}
</style>
// hero-transition and cross-fade are declared elsewhere
<core-animated-pages transitions="hero-transition cross-fade">
<section id="page1">
<div id="hero1" hero-id="hero" hero></div>
Expand Down

0 comments on commit c2a6c48

Please sign in to comment.