mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Adds custom comboboz razor component
This commit is contained in:
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
|
||||
}
|
||||
Reference in new issue
Block a user