浏览代码

Update docs in table.py

`selection` and `selected` are two different props.
Ruibin Liu 1 年之前
父节点
当前提交
4fd92a8733
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nicegui/elements/table.py

+ 1 - 1
nicegui/elements/table.py

@@ -30,7 +30,7 @@ class Table(FilterElement):
         :param pagination: number of rows per page (`None` hides the pagination, 0 means "infinite"; default: `None`)
         :param on_select: callback which is invoked when the selection changes
 
-        If selection is 'single' or 'multiple', then a `selection` property is accessible containing the selected rows.
+        If selection is 'single' or 'multiple', then a `selected` property is accessible containing the selected rows.
         """
         super().__init__(tag='q-table')