check.py 618 B

1234567891011121314151617181920212223
  1. #!/usr/bin/env python3
  2. from nicegui import Client, app, background_tasks, events, globals, ui
  3. from nicegui.element import Element
  4. from nicegui.elements import markdown
  5. from nicegui.elements.mixins.text_element import TextElement
  6. from nicegui.nicegui import Element
  7. from nicegui.page import page
  8. ui.joystick()
  9. # ui.mermaid('''
  10. # graph LR;
  11. # A --> B;
  12. # A --> C;
  13. # ''')
  14. ui.button('plotly', on_click=lambda: ui.plotly())
  15. ui.button('pyplot', on_click=lambda: ui.pyplot())
  16. ui.label('test')
  17. ui.run(favicon='🚀', storage_secret='secret')
  18. # ui.run(favicon='🚀', storage_secret='secret', on_air='falkos-token')