using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; namespace AntDesign { public interface IAutoCompleteRef { void SetInputComponent(IAutoCompleteInput input); Task InputFocus(FocusEventArgs e); Task InputInput(ChangeEventArgs args); Task InputKeyDown(KeyboardEventArgs args); void AddOption(AutoCompleteOption option); void RemoveOption(AutoCompleteOption option); void SetActiveItem(AutoCompleteOption item); Task SetSelectedItem(AutoCompleteOption item); Func CompareWith { get; set; } object SelectedValue { get; set; } object ActiveValue { get; set; } } }