Name | Type | Default | |||||
---|---|---|---|---|---|---|---|
count | Number | 5 | |||||
Sets or gets images count. Code examples
Set the
Get the
Try it: count is set to 8
|
|||||||
disabled | Boolean | false | |||||
Sets or gets whether the rating widget is disabled. Code examples
Set the
Get the
Try it: disabled is set to true
|
|||||||
height | Number/String | auto | |||||
Sets or gets widget's height. Code examples
Set the
Get the
Try it: height is set to 35
|
|||||||
itemHeight | Number | auto | |||||
Sets or gets rating item's height. Code examples
Set the
Get the
Try it: itemHeight is set to 30
|
|||||||
itemWidth | Number | auto | |||||
Sets or gets rating item's width. Code examples
Set the
Get the
Try it: itemWidth is set to 20
|
|||||||
precision | Number | 1 | |||||
Sets or gets vote precision. Code examples
Set the
Get the
Try it: precision is set to 0.5
|
|||||||
singleVote | Boolean | false | |||||
Sets or gets whether the user can vote single or multiple times. Code examples
Set the
Get the
Try it: singleVote is set to true
|
|||||||
value | Number | 0 | |||||
Sets or gets current rating. Code examples
Set the
Get the
Try it: value is set to 3
|
|||||||
width | Number/String | auto | |||||
Sets or gets widget's width. Code examples
Set the
Get the
Try it: width is set to 350
|
|||||||
Events |
|||||||
change | Event | ||||||
The change event is triggered when the rating is changed. Code examples
Bind to the
|
|||||||
Methods |
|||||||
disable | Method | ||||||
Disabling the widget.
None Code examples
Invoke the
Try it: disable the jqxRating.
|
|||||||
enable | Method | ||||||
Enabling the widget.
None Code examples
Invoke the
Try it: enables the jqxRating.
|
|||||||
getValue | Method | ||||||
Getting current rating value.
None Code examples
Invoke the
Try it: gets the value in the jqxRating.
|
|||||||
setValue | Method | ||||||
Setting value to the rating widget.
None Code examples
Invoke the
Try it: sets the value in the jqxRating.
|
|||||||
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().
Try it: sets the value in the jqxRating.
|