Adds custom comboboz razor component

This commit is contained in:
BinaryAlley committed 2024-09-04 14:50:38 +03:00
1 parent 0b8b67182c
commit 0df801d12f
33 files changed
+1442 -5

No files matched your search

@@ -0,0 +1,22 @@
namespace Lumina.Presentation.Web.Core.Services.UI;
/// <summary>
/// Service for managing comboboxes.
/// </summary>
public class ComboboxService
{
#region ================================================================== FIELD MEMBERS ================================================================================
public event Action<string>? ComboboxOpened;
#endregion
#region ===================================================================== METHODS ===================================================================================
/// <summary>
/// Notifies that a combobox has been opened.
/// </summary>
/// <param name="id">The id of the combobox that opened.</param>
public void NotifyComboboxOpened(string id)
{
ComboboxOpened?.Invoke(id);
}
#endregion
}