Search...
onIconMouseIn( )
Sets the function that runs when a user's mouse enters one of the rating icons.
Syntax
function onIconMouseIn(handler: IconMouseInEventHandler): RatingsInputhandler: function IconMouseInEventHandler(event: IconMouseInEvent): void
onIconMouseIn Parameters
NAME
TYPE
DESCRIPTION
handler
The name of the function or the function expression to run when the item is ready.
IconMouseInEventHandler Parameters
NAME
TYPE
DESCRIPTION
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
Get information about the icon that the mouse entered
Copy Code
1$w("#myRatingsInput").onIconMouseIn( (event) => {2 let label = event.label; // "Great"3 let value = event.value; // 44} );