BACKGROUND_PRESETS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The names of the twenty-five poster backgrounds.
インポート
import { BACKGROUND_PRESETS } from "@johnmorrisdotca/taisen-brackets/backgrounds";
ほかのエクスポート元: @johnmorrisdotca/taisen-brackets
定義
const BACKGROUND_PRESETS: readonly ["midnight", "crimson", "royal", "emerald", "pitch", "ice", "hardwood", "infield", "turf", "ball-panels", "swirl", "waves", "glow", "floodlights", "confetti", "carbon", "aurora", "sunburst", "chevrons", "halftone", "argyle", "contour", "stardust", "mesh", "spotlight"] = shared.BACKGROUND_PRESETS
例
import { BACKGROUND_PRESETS } from "@johnmorrisdotca/taisen-brackets/backgrounds";
console.log(BACKGROUND_PRESETS.length, BACKGROUND_PRESETS[0]);25 midnight出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。