modal-impl.d.ts 872B

1234567891011121314151617181920212223242526
  1. import { App } from '../app/app';
  2. import { Config } from '../../config/config';
  3. import { ModalOptions } from './modal-options';
  4. import { NavOptions } from '../../navigation/nav-util';
  5. import { ViewController } from '../../navigation/view-controller';
  6. /**
  7. * @hidden
  8. */
  9. export declare class ModalImpl extends ViewController {
  10. private _app;
  11. private _enterAnimation;
  12. private _leaveAnimation;
  13. constructor(app: App, component: any, data: any, opts: ModalOptions, config: Config);
  14. /**
  15. * @hidden
  16. */
  17. getTransitionName(direction: string): string;
  18. /**
  19. * Present the action sheet instance.
  20. *
  21. * @param {NavOptions} [navOptions={}] Nav options to go with this transition.
  22. * @returns {Promise} Returns a promise which is resolved when the transition has completed.
  23. */
  24. present(navOptions?: NavOptions): Promise<any>;
  25. }