jqwidgets-framework
Version:
jQWidgets is an advanced jQuery, Angular, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
32 lines (25 loc) • 1.03 kB
text/typescript
import { Component, ViewChild } from '@angular/core';
import { jqxFormattedInputComponent } from '../../../jqwidgets-ts/angular_jqxformattedinput';
export class AppComponent {
myFormattedInput: jqxFormattedInputComponent;
getDecimal(): void {
let decimalValue = this.myFormattedInput.val('decimal');
alert('Decimal Value: ' + decimalValue);
};
getExponential(): void {
let exponentialValue = this.myFormattedInput.val('exponential');
alert('Exponential Notation: ' + exponentialValue);
};
getScientific(): void {
let scientificValue = this.myFormattedInput.val('scientific');
alert('Scientific Notation: ' + scientificValue);
};
getEngineering(): void {
let engineeringValue = this.myFormattedInput.val('engineering');
alert('Engineering Notation: ' + engineeringValue);
};
}