Skip to content

extensible view state #48

@dlech

Description

@dlech

It would be useful to be able to add addition custom state to the viewState property of a ControlledTreeEnvironment.

One use case is for having an "active" item separate from the focused item. This state is usually indicated by making the title <strong> and/or highlighting the background.

Another use case could be a list of disabled items. These are usually rendered with the title color muted and don't respond to keyboard/mouse input.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions