mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
feature(angular): action-sheet, alert, loading, toast
This commit is contained in:
@ -9,9 +9,15 @@ import { RadioValueAccessor } from './control-value-accessors/radio-value-access
|
||||
import { SelectValueAccessor } from './control-value-accessors/select-value-accessor';
|
||||
import { TextValueAccessor } from './control-value-accessors/text-value-accessor';
|
||||
|
||||
import { IonNavDelegate } from './directives/ion-nav';
|
||||
|
||||
import { IonNavDelegate } from './components/ion-nav';
|
||||
|
||||
/* Providers */
|
||||
import { ActionSheetController } from './providers/action-sheet-controller';
|
||||
import { AlertController } from './providers/alert-controller';
|
||||
import { AngularFrameworkDelegate } from './providers/angular-framework-delegate';
|
||||
import { LoadingController } from './providers/loading-controller';
|
||||
import { ToastController } from './providers/toast-controller';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@ -30,14 +36,18 @@ import { AlertController } from './providers/alert-controller';
|
||||
],
|
||||
schemas: [
|
||||
CUSTOM_ELEMENTS_SCHEMA
|
||||
]
|
||||
],
|
||||
})
|
||||
export class IonicAngularModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return {
|
||||
ngModule: IonicAngularModule,
|
||||
providers: [
|
||||
AlertController
|
||||
AlertController,
|
||||
ActionSheetController,
|
||||
AngularFrameworkDelegate,
|
||||
LoadingController,
|
||||
ToastController
|
||||
]
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user