Skip to content

Instantly share code, notes, and snippets.

@woobe
Created March 17, 2022 09:23
Show Gist options
  • Save woobe/dbe1f292302028adc6900ee5a515f039 to your computer and use it in GitHub Desktop.
Save woobe/dbe1f292302028adc6900ee5a515f039 to your computer and use it in GitHub Desktop.
Tutorial - Setup for HAIC App Developers
from h2o_wave import main, app, Q, ui
@app('/demo')
async def serve(q: Q):
q.page["my_form_card"] = ui.form_card(
box='1 1 -1 -1',
items=[
ui.text("My first app!")
]
)
await q.page.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment