Browse Source

Merge branch 'main' of github.com:zauberzeug/nicegui

Falko Schindler 2 năm trước cách đây
mục cha
commit
f9c33c9d44
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      website/more_documentation/notify_documentation.py

+ 1 - 1
website/more_documentation/notify_documentation.py

@@ -4,7 +4,7 @@ from ..documentation_tools import text_demo
 
 
 def main_demo() -> None:
-    ui.button('Say hi!', on_click=lambda: ui.notify('Hi!', close_button='OK'))
+    ui.button('Say hi!', on_click=lambda: ui.notify('Hi!', closeBtn='OK'))
 
 
 def more() -> None: