smwebsdk.smevent.addlistener
Home > @soulmachines/smwebsdk > SmEvent > addListener
SmEvent.addListener() method
Register a new listener for this event.
Signature:
addListener(callback: Function): void;
Parameters
Parameter | Type | Description |
---|---|---|
callback | Function | Function called each time the event is triggered. |
Returns:
void