SCALE_PERCENT定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
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 { SCALE_PERCENT } from "@johnmorrisdotca/uchusen-rockets";
定義
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
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
min | 60 | |
max | 100 | |
step | 5 | |
default | 100 |
例
import { SCALE_PERCENT } from "@johnmorrisdotca/uchusen-rockets";
console.log(SCALE_PERCENT.min, SCALE_PERCENT.max, SCALE_PERCENT.step);60 100 5出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。