@using Start.Client.Store.State @using Start.Client.Store.Features.DeleteBookmark @using Fluxor @inherits Fluxor.Blazor.Web.Components.FluxorComponent @inject IDispatcher dispatch @inject IState state
  • @if (!String.IsNullOrEmpty(this.Model.Notes)) {
    @this.Model.Title
    @this.Model.Notes
    } else { @this.Model.Title } @if (this.state.Value.EditMode) { }
  • @code { [Parameter] public BookmarkDto Model { get; set; } = null!; public void OnDeleteBookmarkClick() { this.dispatch.Dispatch(new ShowDeleteBookmarkFormAction(this.Model)); } }