浏览代码

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 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)