Răsfoiți Sursa

Notification element

- Extends docstring of the notify element
Christoph Trappe 3 ani în urmă
părinte
comite
e8ab2dc5a3
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 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)