リファレンス
直方体の操作
import { … } from "@johnmorrisdotca/kyuubu/cuboid/play";
最小化と gzip 圧縮をしたサイズは 19.7 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
CUBOID_PLAYER_CSS | 定数 | The player's stylesheet, put in the page once: the cube player's, under the same class names and custom properties. |
CuboidPlayerHandle | 型 | A cuboid player on the page. |
CuboidPlayerOptions | 型 | How a cuboid player is set up: the solve, and how it is shown. |
mountCuboidPlayer | 関数 | A solve on a cuboid drawn in an element, with its controls. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。