onSetRuntimeMode
onSetRuntimeMode(mode: string): void
Called when a setRuntimeMode event is received from Squirrel. This can occur when switching bewteen Design, Debug and Preview.
A list of the available runtime modes can be found here
If you super the base class onSetPosition method then it will add debug logs to your output
Last updated
Was this helpful?