summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/catapult/third_party/polymer2/bower_components/neon-animation/neon-animation-behavior.d.ts
blob: 153f314584221a0bf66736fd35dd5e17b6bbe6bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
 * 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):
 *   neon-animation-behavior.html
 */

/// <reference path="../polymer/types/polymer.d.ts" />

declare namespace Polymer {

  /**
   * Use `Polymer.NeonAnimationBehavior` to implement an animation.
   */
  interface NeonAnimationBehavior {

    /**
     * Defines the animation timing.
     */
    animationTiming: object|null|undefined;

    /**
     * Can be used to determine that elements implement this behavior.
     *      
     */
    isNeonAnimation: boolean;
    created(): void;

    /**
     * Returns the animation timing by mixing in properties from `config` to the defaults defined
     * by the animation.
     */
    timingFromConfig(config: any): any;

    /**
     * Sets `transform` and `transformOrigin` properties along with the prefixed versions.
     */
    setPrefixedProperty(node: any, property: any, value: any): void;

    /**
     * Called when the animation finishes.
     */
    complete(config: any): void;
  }

  const NeonAnimationBehavior: object;
}