Skip to content

Type Alias: DesignerEventHandler<T = unknown> ​

ts
type DesignerEventHandler<T = unknown> = (event: DesignerEntityEvent<T>) => void;

A callback for editor events.

Type Parameters ​

Type ParameterDefault typeDescription
TunknownType of DesignerEntityEvent.detail.

Parameters ​

ParameterType
eventDesignerEntityEvent<T>

Returns ​

void

Remarks ​

Register it with subscribeDesignerEvent(); remove it with unsubscribeDesignerEvent(), passing the same function reference.

See Events and callbacks.

Czech Republic – The Country for the FutureFunded by the European Union – NextGenerationEUThe project was implemented within the The Country for the Future programme of the Ministry of Industry and Trade and co-financed by the European Union under NextGenerationEU.Support · Examples

Czech Republic – The Country for the FutureFunded by the European Union – NextGenerationEUThe project was implemented within the The Country for the Future programme of the Ministry of Industry and Trade and co-financed by the European Union under NextGenerationEU.Support · Examples