feature(angular): action-sheet, alert, loading, toast

This commit is contained in:
Dan Bucholtz
2017-12-06 11:48:24 -06:00
committed by GitHub
parent c76b74029a
commit cefbee9ea2
29 changed files with 1302 additions and 3537 deletions

View File

@ -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
]
};
}