ripple.d.ts 1.2KB

1234567891011121314151617181920212223
  1. import { ActivatorBase } from './activator-base';
  2. import { Activator } from './activator';
  3. import { App } from '../components/app/app';
  4. import { Config } from '../config/config';
  5. import { PointerCoordinates } from '../util/dom';
  6. import { DomController } from '../platform/dom-controller';
  7. /**
  8. * @hidden
  9. */
  10. export declare class RippleActivator implements ActivatorBase {
  11. private dom;
  12. protected highlight: Activator;
  13. constructor(app: App, config: Config, dom: DomController);
  14. clickAction(ev: UIEvent, activatableEle: HTMLElement, startCoord: PointerCoordinates): void;
  15. downAction(ev: UIEvent, activatableEle: HTMLElement, startCoord: PointerCoordinates): void;
  16. upAction(ev: UIEvent, activatableEle: HTMLElement, startCoord: PointerCoordinates): void;
  17. clearState(animated: boolean): void;
  18. _downAction(ev: UIEvent, activatableEle: HTMLElement, _startCoord: PointerCoordinates): void;
  19. _upAction(ev: UIEvent, activatableEle: HTMLElement, startCoord: PointerCoordinates): void;
  20. _clickAction(_ev: UIEvent, _activatableEle: HTMLElement, _startCoord: PointerCoordinates): void;
  21. startRippleEffect(rippleEle: any, activatableEle: HTMLElement, startCoord: PointerCoordinates): void;
  22. }