david-swift 4937c36b3b Improve updating performance
And update docs reflecting the changes in the latest commits
2024-01-27 08:07:05 +01:00

26 lines
470 B
Markdown

**EXTENSION**
# `List`
## Properties
### `selectionField`
The ID for the field storing the selection value.
### `elementsField`
The ID for the field storing the elements.
## Methods
### `init(_:selection:content:)`
Initialize `List`.
- Parameters:
- elements: The elements.
- selection: The identifier of the selected element. Selection disabled if `nil`.
- content: The view for an element.
### `sidebarStyle()`
Add the "navigation-sidebar" style class.