SetOnComponentLeaveCallback
Subscribe to this event to be notified when a pointing device (mouse) moves out from an equipment.
Event callback
OnComponentLeaveCallback(id: string)
Parameters
- id (string): The internal id of the target equipment.
Example
Subscribes to this event and then output the target equipment to the console.
SYM3.SetOnComponentLeaveCallback(OnMouseLeave);
function OnMouseLeave(id)
{
console.log("OnMouseLeave: Id=" + id);
}