hal9 icon indicating copy to clipboard operation
hal9 copied to clipboard

Can't use constant in python functions

Open javierluraschi opened this issue 3 years ago • 1 comments

javierluraschi avatar Oct 19 '22 07:10 javierluraschi

I would like to also assign constants with code similar to:


import hal9 as h9

h9.dropdown("dropdown", on_update=lambda value: h9.set("dropdown", value), values=['x','y','World','Universe'], value='y')

h9.html("html", rawhtml=lambda: 'Hello World')

Image

javierluraschi avatar Oct 19 '22 07:10 javierluraschi