浏览代码

Merge pull request #930 from CatamountJack/main

Use snake_case style arguments for ui.notify()
Falko Schindler 2 年之前
父节点
当前提交
69e78805b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      website/more_documentation/notify_documentation.py

+ 1 - 1
website/more_documentation/notify_documentation.py

@@ -17,7 +17,7 @@ def more() -> None:
         ui.button('warning', on_click=lambda: ui.notify('warning', type='warning'))
 
     @text_demo('Multiline Notifications', '''
-        To allow a notification text to span multiple lines, it is sufficient to pass the `mutliLine` keyword with `True`.
+        To allow a notification text to span multiple lines, it is sufficient to set `multi_line=True`.
         If manual newline breaks are required (e.g. `\n`), you need to define a CSS style and pass it to the notification as shown in the example.
     ''')
     def multiline():