interface RegionCollection<R> A region collection member of generated state, such as state.documents: the regions in order and the selected index. selected changes only when a selection or close commits, so a tab bar that highlights selected shows the kept tab after a departure guard vetoed a switch.
Properties
selected
readonly selected: number | null; The index in regions of the selected region, or null when the collection has no region.