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'
106106```
107107##
108108``` 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
109119onChange : (value : any ) => void ;
110120```
111121Function needs to be called whenever a value change happens.
@@ -116,6 +126,11 @@ onBlur: () => void;
116126Function needs to be called whenever a blur event triggers.
117127##
118128``` ts
129+ onFocus : (e : any ) => void ;
130+ ```
131+ Function needs to be called whenever a focus event triggers.
132+ ##
133+ ``` ts
119134onValueChanges : Observable < any > ;
120135```
121136Emits an event every time the value of the control changes, in the UI by onChange event.
@@ -196,6 +211,11 @@ onBlur: (e: any) => void;
196211Function needs to be called whenever a ` blur ` event triggers.
197212##
198213``` ts
214+ onFocus : (e : any ) => void ;
215+ ```
216+ Function needs to be called whenever a ` focus ` event triggers.
217+ ##
218+ ``` ts
199219disabled : boolean ;
200220```
201221Tells the input element about the ` disabled ` status.
You can’t perform that action at this time.
0 commit comments