Updated admin page to be more streamlined and added the beginning of the blogging features
This commit is contained in:
@@ -50,6 +50,9 @@
|
||||
[Parameter]
|
||||
public EventCallback<List<T>> ItemsChanged { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<T> ItemRemoved { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The RenderFragment that defines the custom input control.
|
||||
/// The 'context' is a reference to this component instance.
|
||||
@@ -92,5 +95,6 @@
|
||||
{
|
||||
Items.Remove(item);
|
||||
await ItemsChanged.InvokeAsync(Items);
|
||||
await ItemRemoved.InvokeAsync(item);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user