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

+ 3 - 1
nicegui/elements/dialog.py

@@ -11,7 +11,9 @@ class Dialog(Group):
     def __init__(self, *, value: bool = False):
         """Dialog
 
-        Creates a dialog. By default it is non-modal. To make it modal, set `.props('persistent')` on the dialog object. 
+        Creates a dialog.
+        By default it is non-modal.
+        To make it modal, set `.props('persistent')` on the dialog element.
 
         :param value: whether the dialog is already opened (default: `False`)
         """