Reference · Tile and table elements
RackTurnOptionstype
How a rack's tiles are turned face down or face up.
Import it
import type { RackTurnOptions } from "@johnmorrisdotca/jarajara/element";
Definition
type RackTurnOptions = {
oneByOne?: boolean;
gap?: number;
};
Members
| Name | Type | Description |
|---|---|---|
oneByOne (optional) | boolean | undefined | One tile after another, from the first, rather than all at once. Unless said, all at once. |
gap (optional) | number | undefined | Milliseconds between one tile and the next, one by one. Unless said, 90. |
Examples
import type { RackTurnOptions } from "@johnmorrisdotca/jarajara/element";
const value: RackTurnOptions = {oneByOne:true,gap:100};
console.log(value);{ oneByOne: true, gap: 100 }What it prints (run when this page was built)