Skip to content

format

typescript
Control.AddEvent(event, callBack)

class: Control

description

Adds the specified event callback to the control.

parameter

param_nametypedescription
eventControlEventThe event to add the callback to.
callBackIControlEventCallBackThe callback function.

reture

typedescription
void

code example