onSetRuntimeMode(e)
onSetRuntimeMode(e){ const mode = e.detail.mode; }
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 3 years ago
Was this helpful?