Skip to content

parameter-api-and-gui #3

Description

@42sol-eu

Implement a python API that will generate NiceGUI ui from a models code like:

a = Dropdown([0, 1, 2, 3], 1, "some description")
b = Dropdown(["foo", "bar", "baz"], "foo", "some description")
c = Slider(range(3,8), 3, step_size=1, "some description") #use label always https://nicegui.io/documentation/slider, confirm range syntax
d = Checkbox(True, "some description")
e = Number(min=0, max=100, default=50, step_size=1, "some description") # similar to spinbox from OpenSCAD
f = Textbox("foo", char_limit=5, "some description")
g = Range(min=0, max=100, value={'min': 20, 'max': 80}, step_size=, "some description")`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions