Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
decimalNotation | String | 'default' | ||||||
Sets or gets the notation in which to display the real and imaginary parts of the complex number. Possible Values:
Code example
Set the
Get the
|
||||||||
disabled | Boolean | false | ||||||
Enables or disables the jqxComplexInput. Code examples
Set the
Get the
Try it: disabled
is set to true
|
||||||||
height | Number/String | null | ||||||
Sets or gets the jqxComplexInput's height. Code examples
Set the
Get the
Try it: height
is set to 35
|
||||||||
placeHolder | String | '' | ||||||
Sets or gets the jqxComplexInput's placeholder. Code example
Set the
Get the
|
||||||||
roundedCorners | boolean | true | ||||||
Enables or disables the rounded corners functionality. This property setting has effect in browsers which support CSS border-radius. Code example
Set the
Get the
Try it: roundedCorners
is set to false
|
||||||||
rtl | Boolean | false | ||||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code example
Set the
Get the
Try it: rtl
is set to true
|
||||||||
spinButtons | boolean | false | ||||||
Shows or hides the spin buttons. Note: the spin buttons require an additional empty div element in the initialization div of jqxComplexInput. Code example
Set the
Get the
Try it: spinButtons
is set to true
|
||||||||
spinButtonsStep | Number | 1 | ||||||
Sets or gets the increase/decrease step. Code example
Set the
Get the
Try it: spinButtonsStep
is set to 10
|
||||||||
template | String | 'default' | ||||||
Determines the template as an alternative of the default styles. Possible Values:
Code examples
Set the
Get the
Try it: template is set to 'primary'
|
||||||||
theme | String | '' | ||||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme
is set to 'energyblue'
|
||||||||
value | String | '' | ||||||
Sets or gets the value of the jqxComplexInput widget. Code example
Set the
Get the
Try it: value
is set to "190 - 17i"
|
||||||||
width | Number/String | null | ||||||
Sets or gets the jqxComplexInput's width. Code examples
Set the
Get the
Try it: width
is set to 200
|
||||||||
Events |
||||||||
change | Event | |||||||
This event is triggered when the value is changed. Code examples
Bind to the
|
||||||||
Methods |
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys
the complex input
|
||||||||
getReal | Method | |||||||
Gets the real part of the entered number.
None Code examples
Invoke the
Try it: gets
the real part
|
||||||||
getImaginary | Method | |||||||
Gets the imaginary part of the entered number.
Number Code examples
Invoke the
Try it: gets
the imaginary part
|
||||||||
render | Method | |||||||
Renders the widget.
None Code examples
Invoke the
Try it: renders
the complex input
|
||||||||
refresh | Method | |||||||
Refreshes the widget.
None Code examples
Invoke the
Try it: refreshes
the complex input
|
||||||||
val | Method | |||||||
Sets or gets the value.
String Code examples
Get the
Set the
Try it: sets
the jqxComplexInput value
|