Public Inputs
Expose the following parameters as public inputs.
Mode (Text or Static Entity)
Values:
Behavior:
Hearts (Integer)
Default: 5Range: 1–10
Description:Defines the total number of hearts rendered.
Color (Text)
Examples:
Description:Defines the fill color of the hearts.
Animation (Text or Static Entity)
Supported values:
Description:Defines the visual effect applied when a heart is selected.
SizePx (Integer)
Default: 32Range: 12–96 pixels
Description:Defines the width and height of each heart icon.
SpacingPx (Integer)
Default: 8Range: 0–40 pixels
Description:Defines the horizontal spacing between hearts.
RadiusPercent (Integer)
Default: 12Range: 0–50%
Description:Defines the border radius applied to the heart container.
ShowShadow (Boolean)
Description:Enables or disables a drop shadow on the hearts.
Disabled (Boolean)
Description:When set to true, the component becomes read-only and user interaction is disabled.
Public Outputs
SelectedValue (Integer)
Range:
Usage:Bind this value to an entity attribute or use it in client/server logic.
OnChange (Event )
Triggered when the user changes the selection through click or tap.
Output:
Allows the parent screen to respond to user interaction.
Usage in Screens
To use the component in an OutSystems screen:
Example Usage
Product Rating
Like Button