4 writes to _activeIndex
Aspire.Dashboard (4)
Components\Controls\ResourceTagEditor.razor.cs (4)
115_activeIndex = -1; 141_activeIndex = text is null || _options.Count == 0 ? -1 : 0; 149_activeIndex = (_activeIndex + 1) % _options.Count; 152_activeIndex = _activeIndex <= 0 ? _options.Count - 1 : _activeIndex - 1;
6 references to _activeIndex
Aspire.Dashboard (6)
Components\Controls\ResourceTagEditor.razor.cs (6)
149_activeIndex = (_activeIndex + 1) % _options.Count; 152_activeIndex = _activeIndex <= 0 ? _options.Count - 1 : _activeIndex - 1; 155if (_activeIndex >= 0 && _activeIndex < _options.Count) 157AddTag(_options[_activeIndex].Tag);