mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
29 lines
491 B
TypeScript
29 lines
491 B
TypeScript
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { BackdropModule } from '../backdrop/backdrop.module';
|
|
|
|
import { ModalCmp } from './modal-component';
|
|
|
|
/** @hidden */
|
|
@NgModule({
|
|
imports: [
|
|
BackdropModule
|
|
],
|
|
declarations: [
|
|
ModalCmp
|
|
],
|
|
exports: [
|
|
ModalCmp
|
|
],
|
|
entryComponents: [
|
|
ModalCmp
|
|
]
|
|
})
|
|
export class ModalModule {
|
|
public static forRoot(): ModuleWithProviders {
|
|
return {
|
|
ngModule: ModalModule, providers: []
|
|
};
|
|
}
|
|
}
|