REPLAY_SPEEDS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The speeds a replay offers: the solve's own pace, half, a quarter and a tenth of it.
インポート
import { REPLAY_SPEEDS } from "@johnmorrisdotca/kyuubu";
定義
const REPLAY_SPEEDS: readonly [1, 0.5, 0.25, 0.1] = [1, 0.5, 0.25, 0.1] as const
例
import { REPLAY_SPEEDS } from "@johnmorrisdotca/kyuubu";
console.log(REPLAY_SPEEDS);[ 1, 0.5, 0.25, 0.1 ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。