Skip to main content

Frame

Use a frame card to display embed external HTML content on your page.

Check the full API at ui.frame_card.

frame-0

html = '''
<!DOCTYPE html>
<html>
<body>
<h1>Hello World!</h1>
</body>
</html>
'''

q.page['example'] = ui.frame_card(box='1 1 2 2', title='Example', content=html)