jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
23 lines (17 loc) • 646 B
text/typescript
import { Component, ViewChild } from '@angular/core';
import { jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
('myComplexInput', { static: false }) myComplexInput: jqxComplexInputComponent;
getRealPart(): void {
let realPart = this.myComplexInput.getReal();
alert(`Real part is ${realPart}`);
}
getImaginarypart(): void {
let imaginaryPart = this.myComplexInput.getImaginary();
alert(`Imaginary part is ${imaginaryPart}`);
}
}