mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Document _selected
It's not for public consumption, but it's useful for anyone reading the code.
This commit is contained in:
@@ -208,6 +208,7 @@ class SelectionList(Generic[SelectionType], OptionList):
|
||||
disabled: Whether the selection list is disabled or not.
|
||||
"""
|
||||
self._selected: dict[SelectionType, None] = {}
|
||||
"""Tracking of which values are selected."""
|
||||
super().__init__(
|
||||
*[self._make_selection(selection) for selection in selections],
|
||||
name=name,
|
||||
|
||||
Reference in New Issue
Block a user