HitoriDrawOptionstype
Current Hitori marks or entries, selection, errors and native SVG appearance choices.
Import it
import type { HitoriDrawOptions } from "@johnmorrisdotca/kazu/hitori/play";
Also exported from: @johnmorrisdotca/kazu/hitori/draw
Definition
type HitoriDrawOptions = {
shaded?: readonly boolean[];
selected?: number | null;
errors?: readonly number[];
material?: HitoriMaterial;
pieces?: HitoriPieces;
language?: HitoriLanguage;
};
Members
| Name | Type | Description |
|---|---|---|
shaded (optional) | readonly boolean[] | undefined | |
selected (optional) | number | null | undefined | |
errors (optional) | readonly number[] | undefined | |
material (optional) | HitoriMaterial | undefined | |
pieces (optional) | HitoriPieces | undefined | |
language (optional) | HitoriLanguage | undefined |
Examples
import type { HitoriDrawOptions } from "@johnmorrisdotca/kazu/hitori/play";
const value: HitoriDrawOptions = {language:"en"};
console.log(value);{ language: 'en' }What it prints (run when this page was built)