ColorSchemaOptionsinterface
{
readonly value?: string | undefined;
readonly max?: number | undefined;
readonly case?: "upper" | "lower" | undefined;
readonly input?: StringInputType | undefined;
}| Property | Type | |
|---|---|---|
.value | string | Default hex value used when the input is undefined. Defaults to "#000000" readonly |
.max | number | Maximum allowed character length. Defaults to 7 readonly |
.case | "upper""lower" | Force the result to "upper" or "lower" case. readonly |
.input | StringInputType | HTML <input /> type="" hint for downstream UIs. Defaults to "color" readonly |
Options for a ColorSchema.
- The length, format, and single-line constraints are fixed internally, so only the presentation-level string options are exposed.