Reference · Rockets, variants, parts and the fit check
SCALE_PERCENTconstant
The smallest and largest size the demo's slider offers, in per cent of the concept's drawn size, and the step between sizes.
Import it
import { SCALE_PERCENT } from "@johnmorrisdotca/uchusen-rockets";
Definition
const SCALE_PERCENT: { readonly min: 60; readonly max: 100; readonly step: 5; readonly default: 100; } = { min: 60, max: 100, step: 5, default: 100 } as const
Members
| Name | Type | Description |
|---|---|---|
min | 60 | |
max | 100 | |
step | 5 | |
default | 100 |
Examples
import { SCALE_PERCENT } from "@johnmorrisdotca/uchusen-rockets";
console.log(SCALE_PERCENT.min, SCALE_PERCENT.max, SCALE_PERCENT.step);60 100 5What it prints (run when this page was built)