Reference · Cube engine and views
GuidePanelOptionstype
How a guide beside a cube is set up: what it walks, and how it speaks.
Import it
import type { GuidePanelOptions } from "@johnmorrisdotca/kyuubu";
Definition
type GuidePanelOptions = GuideSource & {
locale?: KyuubuLanguage;
onChange?: (guide: Guide, heard: GuideHeard | null) => void;
onEnd?: () => void;
};
Examples
import type { GuidePanelOptions } from "@johnmorrisdotca/kyuubu";
const value: GuidePanelOptions = { moves: "R U", locale: "ja" };
console.log(value.locale);jaWhat it prints (run when this page was built)