OLD | NEW |
| (Empty) |
1 <!-- | |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | |
6 Code distributed by Google as part of the polymer project is also | |
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | |
8 --><html><head><link href="../../polymer/polymer.html" rel="import"> | |
9 <link href="../../core-style/core-style.html" rel="import"> | |
10 <link href="../../core-transition/core-transition.html" rel="import"> | |
11 | |
12 <!-- | |
13 | |
14 `core-transition-pages` represents a page transition, which may include CSS and/
or | |
15 script. It will look for a `core-style` element with the same `id` to install in
the | |
16 scope of the `core-animated-pages` that's using the transition. | |
17 | |
18 Example: | |
19 | |
20 <core-style id="fooTransition"> | |
21 // some CSS here | |
22 </core-style> | |
23 <core-transition-pages id="fooTransition"></core-transition-pages> | |
24 | |
25 There are three stages to a page transition: | |
26 | |
27 1. `prepare`: Called to set up the incoming and outgoing pages to the "before" s
tate, | |
28 e.g. setting the incoming page to `opacity: 0` for `cross-fade` or find and | |
29 measure hero elements for `hero-transition`. | |
30 | |
31 2. `go`: Called to run the transition. For CSS-based transitions, this generally | |
32 applies a CSS `transition` property. | |
33 | |
34 3. `complete`: Called when the elements are finished transitioning. | |
35 | |
36 See the individual transition documentation for specific details. | |
37 | |
38 @element core-transition-pages | |
39 @extends core-transition | |
40 @status beta | |
41 @homepage github.io | |
42 --> | |
43 <!-- | |
44 Fired when the transition completes. | |
45 | |
46 @event core-transitionend | |
47 --> | |
48 </head><body><polymer-element name="core-transition-pages" extends="core-transit
ion" assetpath=""> | |
49 | |
50 </polymer-element> | |
51 <script charset="utf-8" src="core-transition-pages-extracted.js"></script></body
></html> | |
OLD | NEW |