his Blazor event is used to notify other components when the dice has been rolled. Here&rsquo;s how the event can be consumed:</p>
<pre language="razor">&lt;p&gt;Roll the dice. Current dice face: @currentDiceFace&lt;/p&gt;
&lt;BlazorDiceRoll OnDiceRolled="UpdateDiceFace" /&gt;

@code {
    private int? currentDiceFace;

    private void UpdateDiceFace(int diceFace)
    {
        currentDiceFace = diceFace;
    }
}</pre>
<p>In this example, the <code>UpdateDiceFace</code> method is called whenever the <code>