Hi bassaramani,
Greetings from Syncfusion support.
Based on your shared information, w suspect that you want to get the component value when input the value into numerictextbox component. We suggest you bind the input event into the component element to achieve your requirement.
Kindly refer the code example.
|
[component.html]
<!-- Render Numeric Textbox -->
<ejs-numerictextbox #numeric value="10" (created)="onCreate($event)"></ejs-numerictextbox>
[component.ts]
@ViewChild('numeric')
public numericObject: NumericTextBoxComponent;
constructor() { }
onCreate() {
this.numericObject.element.addEventListener("input", this.inputChange.bind(this));
}
inputChange(args) {
console.log(this.numericObject.element.value);
}
|
Regards,
Sureshkumar P