| Name | Type | Default |
|
decimalNotation
# |
enum:ComplexInputDecimalNotation
|
'default'
|
enum ComplexInputDecimalNotation { default, exponential, scientific, engineering } Sets or gets the decimalNotation property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput
#myComplexInput
[width]="250"
[height]="25"
[decimalNotation]="'exponential'"
>
</jqxComplexInput>
`
})
export class App {}
|
|
disabled
# |
Boolean
|
false
|
Sets or gets the disabled property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [disabled]="true">
</jqxComplexInput>
`
})
export class App {}
|
|
height
# |
Size
|
null
|
Sets or gets the height property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App {}
|
|
placeHolder
# |
String
|
''
|
Sets or gets the placeHolder property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput
#myComplexInput
[width]="250"
[height]="25"
[placeHolder]="'Enter a complex number'"
>
</jqxComplexInput>
`
})
export class App {}
|
|
roundedCorners
# |
Boolean
|
true
|
Sets or gets the roundedCorners property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [roundedCorners]="false">
</jqxComplexInput>
`
})
export class App {}
|
|
rtl
# |
Boolean
|
false
|
Sets or gets the rtl property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [rtl]="true">
</jqxComplexInput>
`
})
export class App {}
|
|
spinButtons
# |
Boolean
|
false
|
Sets or gets the spinButtons property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [spinButtons]="true">
</jqxComplexInput>
`
})
export class App {}
|
|
spinButtonsStep
# |
Number
|
1
|
Sets or gets the spinButtonsStep property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [spinButtonsStep]="10">
</jqxComplexInput>
`
})
export class App {}
|
|
template
# |
enum:ComplexInputTemplate
|
'default'
|
enum ComplexInputTemplate { default, primary, success, warning, danger, info } Sets or gets the template property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [template]="'primary'">
</jqxComplexInput>
`
})
export class App {}
|
|
theme
# |
String
|
''
|
Sets or gets the theme property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [theme]="'energyblue'">
</jqxComplexInput>
`
})
export class App {}
|
|
value
# |
String
|
''
|
Sets or gets the value property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput [width]="250" [height]="25" [value]="'190 - 17i'">
</jqxComplexInput>
`
})
export class App {}
|
|
width
# |
Size
|
null
|
Sets or gets the width property.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App {}
|
|
|
|
change
# |
Event
|
|
This event is triggered when the value is changed.
Code examples #
Bind to the change event of jqxComplexInput.
import { Component } from '@angular/core';
import { jqxComplexInputModule } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: `
<jqxComplexInput #myComplexInput (onChange)="Change($event)" [width]="250" [height]="25">
</jqxComplexInput>
`
})
export class App {
Change(event: any): void {
// Do Something
}
}
|
|
|
| Name | Return Type | Arguments |
|
destroy
# |
Void
|
None
|
import { Component, AfterViewInit, viewChild } from '@angular/core';
import { jqxComplexInputModule, jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App implements AfterViewInit {
readonly myComplexInput = viewChild.required<jqxComplexInputComponent>('myComplexInput');
ngAfterViewInit(): void {
this.myComplexInput().destroy();
}
}
|
|
getReal
# |
Number
|
complexNumber: Number
|
import { Component, AfterViewInit, viewChild } from '@angular/core';
import { jqxComplexInputModule, jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App implements AfterViewInit {
readonly myComplexInput = viewChild.required<jqxComplexInputComponent>('myComplexInput');
ngAfterViewInit(): void {
let value = this.myComplexInput().getReal();
}
}
|
|
getImaginary
# |
Number
|
complexNumber: Number
|
import { Component, AfterViewInit, viewChild } from '@angular/core';
import { jqxComplexInputModule, jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App implements AfterViewInit {
readonly myComplexInput = viewChild.required<jqxComplexInputComponent>('myComplexInput');
ngAfterViewInit(): void {
let value = this.myComplexInput().getImaginary();
}
}
|
|
getDecimalNotation
# |
String
|
part: String, type: String
|
import { Component, AfterViewInit, viewChild } from '@angular/core';
import { jqxComplexInputModule, jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App implements AfterViewInit {
readonly myComplexInput = viewChild.required<jqxComplexInputComponent>('myComplexInput');
ngAfterViewInit(): void {
let value = this.myComplexInput().getDecimalNotation('real', 'exponential');
}
}
|
|
render
# |
Void
|
None
|
import { Component, AfterViewInit, viewChild } from '@angular/core';
import { jqxComplexInputModule, jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App implements AfterViewInit {
readonly myComplexInput = viewChild.required<jqxComplexInputComponent>('myComplexInput');
ngAfterViewInit(): void {
this.myComplexInput().render();
}
}
|
|
refresh
# |
Void
|
None
|
import { Component, AfterViewInit, viewChild } from '@angular/core';
import { jqxComplexInputModule, jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App implements AfterViewInit {
readonly myComplexInput = viewChild.required<jqxComplexInputComponent>('myComplexInput');
ngAfterViewInit(): void {
this.myComplexInput().refresh();
}
}
|
|
val
# |
String
|
value: Any
|
import { Component, AfterViewInit, viewChild } from '@angular/core';
import { jqxComplexInputModule, jqxComplexInputComponent } from 'jqwidgets-ng/jqxcomplexinput';
@Component({
selector: 'app-root',
imports: [jqxComplexInputModule],
template: ` <jqxComplexInput #myComplexInput [width]="250" [height]="25"> </jqxComplexInput> `
})
export class App implements AfterViewInit {
readonly myComplexInput = viewChild.required<jqxComplexInputComponent>('myComplexInput');
ngAfterViewInit(): void {
let value = this.myComplexInput().val();
}
}
|