taffy-coustom-ui
Version:
26 lines (22 loc) • 1.02 kB
text/typescript
import { Component, ViewChild } from '@angular/core';
import { jqxMaskedInputComponent } from 'jqwidgets-ng/jqxmaskedinput';
export class AppComponent {
myNumericInput: jqxMaskedInputComponent;
myZipCodeInput: jqxMaskedInputComponent;
mySsnInput: jqxMaskedInputComponent;
myPhoneInput: jqxMaskedInputComponent;
myRegexInput: jqxMaskedInputComponent;
myDisabledInput: jqxMaskedInputComponent;
clear(): void {
this.myNumericInput.clear();
this.myZipCodeInput.clear();
this.mySsnInput.clear();
this.myPhoneInput.clear();
this.myRegexInput.clear();
this.myDisabledInput.clear();
}
}