onSelect method

bool onSelect(
  1. dynamic options
)

This callback function is called every time _discardActiveObject or _setActiveObject try to to select this object. If the function returns true, the process is cancelled

Implementation

external bool onSelect(dynamic /*{ e?: Event | undefined }*/ options);