Skip to content

createTabStop

createTabStop(): <TData>(snapshot) => TaskId | undefined

Defined in: dom/src/task-list/model.ts:186

Makes a tracker of the row that is a list’s tab stop (one row of a tree can be tabbed to, a roving tabindex): the row that has the focus, else the one that last had it or was last selected, else the first. It remembers, so a list keeps one for as long as it lives.

The tracker: from a snapshot, the task of the tab stop.

<TData>(snapshot) => TaskId | undefined