For the complete documentation index, see llms.txt. This page is also available as Markdown.

onSetCanvas

onSetCanvas(e)

onSetCanvas(e){
  const canvas = e.detail.canvas;
}

Called when a setCanvas event is received from Squirrel. This occurs when the canvas size or colour are updated.

If you super the base class onSetPosition method then it will add debug logs to your output

Last updated

Was this helpful?