braebo / gooey

floating gui library for the web
https://gooey.braebo.dev
4 stars 1 forks source link

expose `min` `max` `step` at runtime #49

Open braebo opened 6 days ago

braebo commented 6 days ago

I wanted to change the max of an InputNumber at runtime, but there's no setter for it.

I tried setting input.opts.max, but that had no effect.

Makes me want to make mms accept functions too.. but that seems like overkill.

Adding getters / setters for the 3 may be best.