Name | Type | Default | |||||
---|---|---|---|---|---|---|---|
animationDuration | Number | 300 | |||||
Determines the duration of the progressbar's animation. Code examples
Set the $('#jqxProgressBar').jqxProgressBar({ animationDuration: 0 });
Get the
Try it: animationDuration is set to 3000
|
|||||||
colorRanges | Array | [] | |||||
Determines different color segments. Code examples
Set the
colorRanges Properties:
Get the
Try it: set custom colorRanges
|
|||||||
disabled | Boolean | false | |||||
Determines whether the progress bar is disabled. Code examples
Set the $('#jqxProgressBar').jqxProgressBar({disabled:true});
Get the
Try it: disabled is set to true
|
|||||||
height | Number/String | null | |||||
Sets or gets the progress bar's height. Code examples
Set the $('#jqxProgressBar').jqxProgressBar({height:"100px" });
Get the
Try it: height is set to 20
|
|||||||
layout | String | "normal" | |||||
Sets or gets the jqxProgressBar's layout. Possible Values:
Code examples
Set the
Get the
Try it: layout is set to 'reverse'
|
|||||||
max | Number | 100 | |||||
Sets or gets the progress bar's max value. Code examples
Set the
Get the
Try it: max is set to 150
|
|||||||
min | Number | 0 | |||||
Sets or gets the progress bar's min value. Code examples
Set the
Get the
Try it: min is set to 10
|
|||||||
orientation | String | 'horizontal' | |||||
Sets or gets the orientation. Possible Values:
Code examples
Set the $('#jqxProgressBar').jqxProgressBar({orientation: "vertical" });
Get the
Try it: orientation is set to 'vertical'
|
|||||||
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
|
|||||||
showText | Boolean | false | |||||
Sets or gets the visibility of the progress bar's percentage's text. Code examples
Set the $('#jqxProgressBar').jqxProgressBar({showText:true});
Get the
Try it: showText is set to true
|
|||||||
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 'success'
|
|||||||
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 | Number | 0 | |||||
Sets or gets the progress bar's value The value should be set between min(default value: 0) and max(default value: 100). Code examples
Set the
Get the
Try it: value is set to 50
|
|||||||
width | Number/String | null | |||||
Sets or gets the progress bar's width. Code examples
Set the $('#jqxProgressBar').jqxProgressBar({width:"250px" });
Get the
Try it: width is set to 200
|
|||||||
Events |
|||||||
complete | Event | ||||||
This event is triggered when the value is equal to the max. value. Code examples
Bind to the
|
|||||||
invalidvalue | Event | ||||||
This event is triggered when the user enters an invalid value( value which is not Number or is out of the min - max range. ) Code examples
Bind to the
|
|||||||
valueChanged | Event | ||||||
This event is triggered when the value is changed. Code examples
Bind to the
|
|||||||
Methods |
|||||||
actualValue | Method | ||||||
Sets the progress bar's value.
None Code examples
Invoke the
|
|||||||
destroy | Method | ||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys the jqxProgressBar.
|
|||||||
val | Method | ||||||
Sets or gets the value.
Number Code example
Invoke the
// Get the value using jQuery's val()
// Set value.
// Set value using jQuery's val().
|