You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Trigger validation and show errors for invalid fields.
35
80
*
36
-
* @param field Optional field object, its selector or zero-based index to check. Only has effect with fields collection and skips other fields.
81
+
* @param field Optional field object, its selector or zero-based index to check.
82
+
* Only has effect with fields collection and skips other fields.
37
83
*/
38
84
/* istanbul ignore next */
39
-
publicvalidate(field?: Object): boolean{return;}
85
+
publicvalidate(field?: object): boolean{return;}
40
86
41
87
/**
42
88
* Trigger validation but do not display error messages.
43
89
*
44
-
* @param field Optional field object, its selector or zero-based index to check. Only has effect with fields collection and skips other fields.
90
+
* @param field Optional field object, its selector or zero-based index to check.
91
+
* Only has effect with fields collection and skips other fields.
45
92
*/
46
93
/* istanbul ignore next */
47
-
publicisValid(field?: Object): boolean{return;}
94
+
publicisValid(field?: object): boolean{return;}
48
95
49
96
/**
50
97
* Hide any possible message(s) (either messageTarget or igNotifier).
@@ -53,58 +100,62 @@ export class IgValidatorComponent extends IgControlBase<IgValidator> {
53
100
* @param field Optional field object, its selector or zero-based index to hide message for.
54
101
*/
55
102
/* istanbul ignore next */
56
-
publichide(field?: Object): void{return;}
103
+
publichide(field?: object): void{return;}
57
104
58
105
/**
59
-
* Gets all current error messages for invalid field(s). Note that this method does not valdiate and states and messages are only updated on validation, so
60
-
* this can be used on formValidated event or after validate/isValid method calls.
106
+
* Gets all current error messages for invalid field(s).
107
+
* Note that this method does not valdiate and states and messages are only updated on validation, so
108
+
* this can be used on formValidated event or after validate/isValid method calls.
61
109
*
62
110
* @param field Optional field object, selector or zero-based index for a single field to get error message for.
* Gets the notifier for the igValidator or for a single filed.
78
127
*
79
128
* @param field Optional field object, its selector or zero-based index to get notifier for.
80
129
*/
81
130
/* istanbul ignore next */
82
-
publicnotifier(field?: Object): Object{return;}
131
+
publicnotifier(field?: object): object{return;}
83
132
84
133
/**
85
-
* Adds an new input to the fields collection and initializes it with the validator. Note: Additional fields are only accepted if the validator has been created with the collection.
134
+
* Adds an new input to the fields collection and initializes it with the validator.
135
+
* Note: Additional fields are only accepted if the validator has been created with the collection.
86
136
*
87
137
* @param field An object with the field selector and options.
88
138
*/
89
139
/* istanbul ignore next */
90
-
publicaddField(field: Object): void{return;}
140
+
publicaddField(field: object): void{return;}
91
141
92
142
/**
93
143
* Removes an input from the fields collection.
94
144
*
95
145
* @param field The field object to remove, its zero-based index or selector.
96
146
*/
97
147
/* istanbul ignore next */
98
-
publicremoveField(field: Object): void{return;}
148
+
publicremoveField(field: object): void{return;}
99
149
100
150
/**
101
-
* Updates a field in the validator collection. Used to reinitialize field in case a control has been created after the validator or to pass in new options.
151
+
* Updates a field in the validator collection.
152
+
* Used to reinitialize field in case a control has been created after the validator or to pass in new options.
102
153
*
103
154
* @param field The field object to update, its zero-based index or selector.
104
155
* @param fieldOptions New options to apply to the field.
0 commit comments