Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Rating

Since 0.1.0-alpha.21
Lets the user rate with stars, and shows a rating.

IzzyBlazor.Rating<TValue> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (6)

Maxint = 5Added in 0.1.0-alpha.21

The number of stars. Defaults to 5.

IconIconData? (computed)Added in 0.1.0-alpha.21

The icon for each star. Defaults to a star.

AccentAccent? (computed)Added in 0.1.0-alpha.21

The filled stars' color. Defaults to a gold.

ReadOnlybool = falseAdded in 0.1.0-alpha.21

Shows 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-ValueTValueAdded in 0.1.0-alpha.21

The value, bound with @bind-Value.

DisplayNamestring?Added in 0.1.0-alpha.21

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

class

The 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.

Accent members
MemberDescription
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 "#0d9488". Text on it is black or white, whichever reads better.

Token(string name)

A theme token, such as "brand" for --ib-color-brand; text on it uses --ib-color-on-brand when the theme defines it.

From(Color color)

A Color as an accent, such as Color.Success.

Connection lost

Rejoining the server…