/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/gen-typescript-declarations * * To modify these typings, edit the source file(s): * animations/hero-animation.html */ /// /// /** * `` is a shared element animation that scales and transform an element such that it * appears to be shared between two pages. Use this in ``. The source page * should use this animation in an 'exit' animation and set the `fromPage` configuration property to * itself, and the destination page should use this animation in an `entry` animation and set the * `toPage` configuration property to itself. They should also define the hero elements in the * `sharedElements` property (not a configuration property, see * `Polymer.NeonSharedElementAnimatableBehavior`). * * Configuration: * ``` * { * name: 'hero-animation', * id: , * timing: , * toPage: , /* define for the destination page *\/ * fromPage: , /* define for the source page *\/ * } * ``` */ interface HeroAnimationElement extends Polymer.Element, Polymer.NeonSharedElementAnimationBehavior { complete(config: any): any; configure(config: any): any; } interface HTMLElementTagNameMap { "hero-animation": HeroAnimationElement; }