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

import {IronResizableBehavior} from '../iron-resizable-behavior/iron-resizable-behavior.js';

import {IronSelectableBehavior} from '../iron-selector/iron-selectable.js';

import {Polymer} from '../polymer/lib/legacy/polymer-fn.js';

import {dom} from '../polymer/lib/legacy/polymer.dom.js';

import {html} from '../polymer/lib/utils/html-tag.js';

import {NeonAnimationRunnerBehavior} from './neon-animation-runner-behavior.js';

import {LegacyElementMixin} from '../polymer/lib/legacy/legacy-element-mixin.js';

/**
 * Material design: [Meaningful
 * transitions](https://www.google.com/design/spec/animation/meaningful-transitions.html)
 *
 * `neon-animated-pages` manages a set of pages and runs an animation when
 * switching between them. Its children pages should implement
 * `NeonAnimatableBehavior` and define `entry` and `exit` animations to be
 * run when switching to or switching out of the page.
 */
interface NeonAnimatedPagesElement extends IronResizableBehavior, IronSelectableBehavior, NeonAnimationRunnerBehavior, LegacyElementMixin, HTMLElement {
  activateEvent: string|null|undefined;

  /**
   * its animation config.
   */
  animateInitialSelection: boolean|null|undefined;
  _onIronSelect(event: any): void;
  _completeSelectedChanged(oldPage?: object|null, selectedPage?: object|null): void;
  _onNeonAnimationFinish(event: any): void;
  _notifyPageResize(): void;
}

export {NeonAnimatedPagesElement};

declare global {

  interface HTMLElementTagNameMap {
    "neon-animated-pages": NeonAnimatedPagesElement;
  }
}