Skip to content

tapselect and tapunselect events #1977

@jri

Description

@jri

Issue type

Feature request

Spec

  • tapselect : when an element is selected by a tap gesture
  • tapunselect : when an element is unselected by a tap elsewhere

Motivation

See below OP:

--

Is there a way to set an element's selection state (like ele.select() does) but without firing a select event?

This is useful when the selection state must be restored programmatically e.g. on application launch or history pop (in a scenario when each interactive selection causes a history push).

In these cases the application must restore the (visual) state programmatically but without triggering the actions usually caused by interactive selection.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions