SetOnComponentReleasedCallback

Subscribe to this event to be notified when a pointing device (mouse) is released on an equipment.

Event callback

OnComponentReleasedCallback(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.SetOnComponentReleasedCallback(OnMouseReleased);
function OnMouseReleased(id)
{
    console.log("OnMouseReleased: Id=" + id);
}