$(function () { var options; // Type: wijmo.rating.wijrating.options $(".selector").wijrating(options); });
function wijrating() : any;
$(function () { var options; // Type: wijmo.rating.wijrating.options $(".selector").wijrating(options); });
function wijrating() : any;
Name | Description | |
---|---|---|
animation | Default value: null An option that controls aspects of the widget's animation, such as the animation effect and easing. | |
count | Default value: 5 A value that determines the number of stars to display. | |
direction | Default value: 'normal' The direction option determines the direction in which items are rated. | |
disabled | Default value: false A value that determines whether or not to disable the rating widget. | |
hint | A value that controls the hint information shown when hovering over the rating star. |
|
iconHeight | Default value: 16 An option that determines the height of the icon. All icons should have the same height. | |
icons | A value that indicates the settings for customized rating icons. |
|
iconWidth | Default value: 16 An option that determines the width of the icon. All icons should have the same width. | |
max | Default value: null An option that defines the maximum value that can be rated using the rating widget. | |
min | Default value: null An option that defines the minimum value that can be rated using the rating widget. | |
orientation | Default value: 'horizontal' The orientation option determines the orientation of the rating widget. | |
ratingMode | Default value: 'continuous' The ratingMode option determines how the widget performs the rating function. The widget can rate things continuously or singly. | |
resetButton | The resetButton option determines the properties of the widget's reset button. |
|
split | Default value: 1 An option that determines the number of sections into which each star will be split. | |
totalValue | Default value: 5 An option that determines the total value of the rating widget. | |
value | Default value: 0 An option that determines the rated value of the rating widget. |
Name | Description | |
---|---|---|
destroy | The destroy() method will remove the rating functionality completely and will return the element to its pre-init state. | |
widget | Returns a jQuery object containing the original element or other relevant generated element. |
Name | Description | |
---|---|---|
hover | The hover event fires when a user hovers over a rating icon. You can use this event to trigger something, such as an alert, when a user hovers over one of the rating icons. | |
rated | The rated event fires after the widget is rated. | |
rating | The rating event fires before widget rating. You can use this event if you'd like to track the rated values. You can cancel this event by returning false. | |
reset | The reset event fires when the reset button is clicked. |