void icon indicating copy to clipboard operation
void copied to clipboard

Consider button/function traits

Open ianstormtaylor opened this issue 1 year ago • 0 comments

Which is a button that when clicked invokes a function. Something like:

Void.button('name', () => {
  // do something here…
})

Only useful in animated sketches, since you can react to the button click by for example toggling a variable, like a light/dark color theme for instance.

Not super priority, since for most things you could just use regular clicks on the canvas, or right-clicks for a secondary action, or button presses, etc.

ianstormtaylor avatar Nov 09 '22 17:11 ianstormtaylor