forked from NativeScript/nativescript-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.ts
More file actions
32 lines (30 loc) · 983 Bytes
/
forms.ts
File metadata and controls
32 lines (30 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { NgModule } from "@angular/core";
import { FormsModule } from "@angular/forms";
import { TextValueAccessor } from './value-accessors/text-value-accessor';
import { CheckedValueAccessor } from './value-accessors/checked-value-accessor';
import { DateValueAccessor } from './value-accessors/date-value-accessor';
import { TimeValueAccessor } from './value-accessors/time-value-accessor';
import { NumberValueAccessor } from './value-accessors/number-value-accessor';
import { SelectedIndexValueAccessor } from './value-accessors/selectedIndex-value-accessor';
export const FORMS_DIRECTIVES = [
TextValueAccessor,
CheckedValueAccessor,
DateValueAccessor,
TimeValueAccessor,
SelectedIndexValueAccessor,
NumberValueAccessor,
];
@NgModule({
declarations: FORMS_DIRECTIVES,
providers: [
],
imports: [
FormsModule
],
exports: [
FormsModule,
FORMS_DIRECTIVES,
]
})
export class NativeScriptFormsModule {
}