mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 14:58:36 +08:00
chore(): begin adding ionic components to mono-repo.
This commit is contained in:
25
packages/ionic-angular/src/components/popover/popover.ts
Normal file
25
packages/ionic-angular/src/components/popover/popover.ts
Normal file
@ -0,0 +1,25 @@
|
||||
import { App } from '../app/app';
|
||||
import { Config } from '../../config/config';
|
||||
|
||||
import { PopoverOptions } from './popover-options';
|
||||
import { DeepLinker } from '../../navigation/deep-linker';
|
||||
|
||||
import { Overlay } from '../../navigation/overlay';
|
||||
import { OverlayProxy } from '../../navigation/overlay-proxy';
|
||||
import { PopoverImpl } from './popover-impl';
|
||||
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
export class Popover extends OverlayProxy {
|
||||
|
||||
public isOverlay: boolean = true;
|
||||
|
||||
constructor(app: App, component: any, private data: any, private opts: PopoverOptions = {}, config: Config, deepLinker: DeepLinker) {
|
||||
super(app, component, config, deepLinker);
|
||||
}
|
||||
|
||||
getImplementation(): Overlay {
|
||||
return new PopoverImpl(this._app, this._component, this.data, this.opts, this._config);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user