File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,16 @@ console.log(this.control.status); // 'DISABLED'
106
106
```
107
107
##
108
108
``` ts
109
+ active : boolean ;
110
+ ```
111
+ ` true ` means control is in ` focused ` state.
112
+ ##
113
+ ``` ts
114
+ inactive : boolean ;
115
+ ```
116
+ ` true ` means control is in ` unfocused ` state.
117
+ ##
118
+ ``` ts
109
119
onChange : (value : any ) => void ;
110
120
```
111
121
Function needs to be called whenever a value change happens.
@@ -116,6 +126,11 @@ onBlur: () => void;
116
126
Function needs to be called whenever a blur event triggers.
117
127
##
118
128
``` ts
129
+ onFocus : (e : any ) => void ;
130
+ ```
131
+ Function needs to be called whenever a focus event triggers.
132
+ ##
133
+ ``` ts
119
134
onValueChanges : Observable < any > ;
120
135
```
121
136
Emits an event every time the value of the control changes, in the UI by onChange event.
@@ -196,6 +211,11 @@ onBlur: (e: any) => void;
196
211
Function needs to be called whenever a ` blur ` event triggers.
197
212
##
198
213
``` ts
214
+ onFocus : (e : any ) => void ;
215
+ ```
216
+ Function needs to be called whenever a ` focus ` event triggers.
217
+ ##
218
+ ``` ts
199
219
disabled : boolean ;
200
220
```
201
221
Tells the input element about the ` disabled ` status.
You can’t perform that action at this time.
0 commit comments