Reference · Cube engine and views
CUBE_SCALESconstant
HOW BIG A CUBE IS DRAWN, as a setting: small for a list or a picker,
medium, and large. The same names, in the same order, as Toranpu's
cards, so a page that uses both says one thing. (A cube's size is its
side, 2 to 7, so the setting here is scale.)
Import it
import { CUBE_SCALES } from "@johnmorrisdotca/kyuubu";
Definition
const CUBE_SCALES: readonly ["small", "medium", "large"] = ["small", "medium", "large"] as const
Examples
import { CUBE_SCALES } from "@johnmorrisdotca/kyuubu";
console.log(CUBE_SCALES);[ 'small', 'medium', 'large' ]What it prints (run when this page was built)