Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: margaretkennedy <[email protected]>
  • Loading branch information
bmingles and margaretkennedy authored Jan 2, 2025
1 parent a29d4d7 commit c4bcbfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/ui/docs/components/list_view.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ my_list_view_table_source = ui_list_view_table_source()

## Selection

The `selection_mode` prop can be used to configure how ui.list_view handles item selection. The options are `'MULTIPLE'` (the default value), `'SINGLE'` or `'NONE'`.
The `selection_mode` prop can be used to configure how `ui.list_view` handles item selection. The options are `'MULTIPLE'` (the default value), `'SINGLE'`, or `'NONE'`.

Set `selection_mode='SINGLE'` to constrain selection to a single item.

Expand Down Expand Up @@ -116,7 +116,7 @@ def ui_list_view():
my_list_view = ui_list_view()
```

`selection_mode` can be explicitly set to `MULTIPLE` for cases where it is dynamically defined. For example, a ui.radio can be used to allow changing the selection mode.
`selection_mode` can be explicitly set to `MULTIPLE` for cases where it is dynamically defined. For example, a `ui.radio` can be used to change the selection mode.

```python
@ui.component
Expand Down

0 comments on commit c4bcbfc

Please sign in to comment.