Overview
Rating component is used to collect and display user feedback in the form of star ratings. This component allows users to rate items, such as products, services, or features, providing valuable insights and feedback.
For example, In a product review section of an e-commerce application, the Rating component can be used to display user feedback on products. Customers can rate their purchased items from 1 to 5 stars, and the average rating will be shown alongside the product details to help other users make informed decisions
Attributes
Attributes are the options available for each component, allowing you to customize its appearance and functionality. They help you tailor the look and behavior of your components to fit your needs.
Basic
Attribute Name | Description |
---|---|
Value Destination Types | This attribute specifies whether the user wants to store a value in a variable or a model. Model: Here, you can select "Model" as the value destination. Note: Value Destination Model field appears when you select "Model" as the Value Destination Type. |
Value Destination Variables | Here you can choose the variable option from this list. Note: This appears when you select "Variable" as the Value Destination Type. |
Value Destination Model |
|
Size | You can adjust the rating size to XX-Small, X-Small, Small, Medium, or Large. |
UI Attributes:
Attribute Group | Attribute Name | Description |
---|---|---|
UI | Component Size |
Note: Currently, we support Component Size |
Padding Location | "Padding Location" typically refers to the configuration of spacing around elements | |
Padding Size | "Padding Size" refers to the amount of space added inside an element, between the element's content and its border or edge. | |
Margin Location | "Margin Location" refers to the spacing around the outside edge of an element | |
Margin Size | "Margin Size" refers to the amount of space around the outside edges of an element, | |
Style |
| |
Classes |
|
Visibility
Attribute Name | Description |
Visibility Type | It determines whether a component is visible on the layout. It offers the following visibility types:
|
Disability
Attribute Name | Description |
Disability Type | It determines whether a component is disable on the layout. It offers the following visibility types:
|
Component
Attribute Name | Description |
---|---|
Component Label | It simply shows the name of the Rating component. |
Events
Events available for any component is of onload type.
Onload Events:
onload event occurs when the component has been loaded.
Here, only onload event actions are available for components.
Actions are basically workflow actions, which you can explore in Workflow here.
0 Comments