IzzyBlazor.Rating<TValue> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (6)
Maxint = 5The number of stars. Defaults to 5.
IconIconData? (computed)The icon for each star. Defaults to a star.
AccentAccent? (computed)The filled stars' color. Defaults to a gold.
ReadOnlybool = falseShows the value as stars filled to the exact fraction (4.3 fills 86%), an image to screen readers, and posts it. Any number type works here, double too.
@bind-ValueTValueThe value, bound with @bind-Value.
DisplayNamestring?The field's name in validation messages from the input itself, such as a value that can't be parsed.
Events (0)
No events.
Types (1)
Accent
classThe color of a control: buttons, badges, tags, banners, progress bars and menu items. Primary, Neutral and Danger are the roles; emphasis comes from the variant (solid, soft, outline, ghost, link), not from more colors. For one control in another color, use Of (any CSS color) or Token (a theme token); text on it is chosen for contrast.
| Member | Description |
|---|---|
Primary | The brand color, for the main action. |
Neutral | A quiet, gray action. |
Danger | A destructive action, such as Delete. |
Of(string css) | Any CSS color, such as |
Token(string name) | A theme token, such as |
From(Color color) | A |