4 writes to _activeIndex
Aspire.Dashboard (4)
Components\Controls\ResourceTagEditor.razor.cs (4)
116_activeIndex = -1; 142_activeIndex = text is null || _options.Count == 0 ? -1 : 0; 150_activeIndex = (_activeIndex + 1) % _options.Count; 153_activeIndex = _activeIndex <= 0 ? _options.Count - 1 : _activeIndex - 1;
6 references to _activeIndex
Aspire.Dashboard (6)
Components\Controls\ResourceTagEditor.razor.cs (6)
150_activeIndex = (_activeIndex + 1) % _options.Count; 153_activeIndex = _activeIndex <= 0 ? _options.Count - 1 : _activeIndex - 1; 156if (_activeIndex >= 0 && _activeIndex < _options.Count) 158AddTag(_options[_activeIndex].Tag);