wave-tour / examples /form_frame_path.py
MartinT's picture
feat: Init.
2b4d75c
raw
history blame
300 Bytes
# Form / Frame / Path
# Use a #frame component in a #form card to display external web pages.
# ---
from h2o_wave import site, ui
page = site['/demo']
page['example'] = ui.form_card(
box='1 1 -1 -1',
items=[
ui.frame(path='https://example.com', height='450px')
]
)
page.save()