FuzzyPanel

This commit is contained in:
2023-06-30 14:01:25 +02:00
parent 0ed161c819
commit b5d332b3bd
9 changed files with 155 additions and 57 deletions

View File

@@ -0,0 +1,12 @@
using Avalonia.Input;
namespace FileTime.App.FuzzyPanel;
public interface IFuzzyPanelViewModel<TItem> where TItem : class
{
List<TItem> FilteredMatches { get; }
TItem? SelectedItem { get; }
string SearchText { get; set; }
void UpdateFilteredMatches();
Task<bool> HandleKeyDown(KeyEventArgs keyEventArgs);
}