jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
32 lines (25 loc) • 1.01 kB
text/typescript
import { Component, ViewChild } from '@angular/core';
import { jqxFormattedInputComponent } from 'jqwidgets-scripts/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);
};
}