chromium/third_party/polymer/v3_0/components-chromium/neon-animation/neon-animation-runner-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-runner-behavior.js
 */

import {NeonAnimatableBehavior} from './neon-animatable-behavior.js';

/**
 * `NeonAnimationRunnerBehavior` adds a method to run animations.
 */
interface NeonAnimationRunnerBehavior extends NeonAnimatableBehavior {
  _configureAnimations(configs: any): any;
  _shouldComplete(activeEntries: any): any;
  _complete(activeEntries: any): void;

  /**
   * Plays an animation with an optional `type`.
   */
  playAnimation(type?: string, cookie?: object): void;

  /**
   * Cancels the currently running animations.
   */
  cancelAnimation(): void;
}

declare const NeonAnimationRunnerBehavior: object;

export {NeonAnimationRunnerBehavior};