You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Rating/RatingItem.razor

17 lines
571 B

@namespace Connected.Components
@inherits UIComponent
@if (ReadOnly)
{
<span class="@ClassName" style="@Style">
<Icon Icon="@ItemIcon" Size="@Size"></Icon>
</span>
}
else
{
<span class="@ClassName" style="@Style" @onmouseover="HandleMouseOver" @onclick="HandleClick" @onmouseout="HandleMouseOut ">
<input class="mud-rating-input" type="radio" tabindex="-1" value="@ItemValue" name="@Rating?.Name" disabled="@Disabled" checked="@(IsChecked)" @attributes="UserAttributes" />
<Icon Icon="@ItemIcon" Size="@Size"></Icon>
</span>
}