Skip to main content

smwebsdk.smevent.addlistener

Home > @soulmachines/smwebsdk > SmEvent > addListener

SmEvent.addListener() method

Register a new listener for this event.

Signature:

addListener(callback: Function): void;

Parameters

ParameterTypeDescription
callbackFunctionFunction called each time the event is triggered.

Returns:

void