mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
33 lines
674 B
TypeScript
33 lines
674 B
TypeScript
import { CommonModule } from '@angular/common';
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { NativeInput } from './native-input';
|
|
import { NextInput } from './next-input';
|
|
import { TextInput } from './input';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
ReactiveFormsModule
|
|
],
|
|
declarations: [
|
|
NativeInput,
|
|
NextInput,
|
|
TextInput
|
|
],
|
|
exports: [
|
|
NativeInput,
|
|
NextInput,
|
|
TextInput
|
|
]
|
|
})
|
|
export class InputModule {
|
|
public static forRoot(): ModuleWithProviders {
|
|
return {
|
|
ngModule: InputModule, providers: []
|
|
};
|
|
}
|
|
}
|