16 lines
398 B
Plaintext
16 lines
398 B
Plaintext
@using Microsoft.AspNetCore.Blazor
|
|
<div class="special-style">
|
|
This component, including the CSS and image required to produce its
|
|
elegant styling, is in an external NuGet package.
|
|
<button onclick="@ChangeLabel">@buttonLabel </button>
|
|
</div>
|
|
|
|
@functions {
|
|
string buttonLabel = "Click me";
|
|
|
|
void ChangeLabel(UIMouseEventArgs e)
|
|
{
|
|
buttonLabel = "It works";
|
|
}
|
|
}
|