ソースを参照

Notification element

- Extends docstring of the notify element
Christoph Trappe 3 年 前
コミット
e8ab2dc5a3
1 ファイル変更1 行追加1 行削除
  1. 1 1
      nicegui/elements/notify.py

+ 1 - 1
nicegui/elements/notify.py

@@ -14,7 +14,7 @@ class Notify(Element):
 
 
         :param message: the content of the notification
         :param message: the content of the notification
         :param position: possible position: 'top-left', 'top-right', 'bottom-left','bottom-right, 'top', 'bottom', 'left', 'right', 'center'
         :param position: possible position: 'top-left', 'top-right', 'bottom-left','bottom-right, 'top', 'bottom', 'left', 'right', 'center'
-        :param close_button:
+        :param close_button: label of the button to dismiss the notification
         """
         """
 
 
         view = jp.QNotify(message=message, position=position)
         view = jp.QNotify(message=message, position=position)