chromium/third_party/polymer/v3_0/components-chromium/neon-animation/neon-animation-behavior.d.ts

/**
 * DO NOT EDIT
 *
 * This file was automatically generated by
 *   https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
 *
 * To modify these typings, edit the source file(s):
 *   neon-animation-behavior.js
 */

export {NeonAnimationBehavior};

/**
 * Use `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;
}

declare const NeonAnimationBehavior: object;