jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
27 lines (21 loc) • 803 B
text/typescript
import { Component, ViewChild } from '@angular/core';
import { jqxFormattedInputComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxformattedinput';
export class AppComponent {
myFormattedInput: jqxFormattedInputComponent;
getOctal(): void {
let octalValue = this.myFormattedInput.val('octal');
alert('Octal value: ' + octalValue);
}
getDecimal(): void {
let decimalValue = this.myFormattedInput.val('decimal');
alert('Decimal value: ' + decimalValue);
}
getHexadecimal(): void {
let hexadecimalValue = this.myFormattedInput.val('hexadecimal');
alert('Hexadecimal value: ' + hexadecimalValue);
}
}