Rating
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package 'Bootstrap Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
A component that provides a rating interface for displaying and collecting a numerical score.
This is a reference page; many components have detailed usage guides here.
Bound data provider identifier for the rating value. Type:
Flag indicating whether the rating component is enabled for user interaction. Type: Default Value: true
The position of the rating component on the form. Type: Point
The maximum rating value allowed. Type: Number Default Value: 5
When true, displays the rating value as a percentage on hover. Type: Boolean
The representation (for example, an icon or symbol) for an inactive (unselected) rating state. Type: String
The representation (for example, an icon or symbol) for an active (selected) rating state. Type: String
Flag indicating whether the rating component is visible. Type: Boolean Default Value: true
Handle changed data, return false if the value should not be accepted. JSEvent.data will contain extra information about dataproviderid, its scope and the scope id (record datasource or form/global variable scope)
Parameters:
{JSEvent} event The event object associated with the data change.
Returns: {Boolean}
Fired when the rating component is hovered.
Parameters:
Fired when the mouse leaves the rating component.
Parameters:
{} oldValue The previous rating value.
{} newValue The new rating value to be set.