FIT_MODES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a fit makes visible: both the whole board (default); width the board as wide as the box, which for a board taller than the box
is the top of it with the rest to move down to; height the board as tall as the box, the left of it for a board wider than the box.
インポート
import { FIT_MODES } from "@johnmorrisdotca/meikyuu/play";
定義
const FIT_MODES: readonly ["both", "width", "height"] = ["both", "width", "height"] as const
例
import { FIT_MODES } from "@johnmorrisdotca/meikyuu/play";
console.log(FIT_MODES);[ 'both', 'width', 'height' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。