ColorPanel
Since 0.1.0-alpha.22IzzyBlazor.ColorPanel in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (10)
SwatchesIEnumerable<string>? (computed)The swatches, as hex strings. Defaults to 21 colors: seven hues in a light, a middle and a dark shade. An empty list shows none.
SwatchTextFunc<string, string?>? (computed)A name for each swatch, such as "Ocean", given its hex string; screen readers hear it and it's the tooltip. Defaults to the color's name ("light green").
ShowPickerbool = trueThe picker: a saturation and brightness area and a hue slider. Defaults to true.
ShowAlphabool = falseAn opacity slider and field; a color that isn't opaque is #rrggbbaa. Off by default.
ShowFieldsbool = trueHex, red, green and blue fields (and opacity with ShowAlpha). Defaults to true.
Clearablebool = falseA "no color" swatch first, which makes the value null.
ShowEyedropperbool = falseAn eyedropper button beside the fields, shown only in browsers that have one (Chromium).
ReadOnlybool = falseMakes the field read-only: nothing changes it, and it still posts.
@bind-Valuestring?The 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.