本文へ移動

Meikyuu迷宮

シード付きの迷路と矢印パズルを作り、番号付きの問題を進め、平面や立体表面で遊べます。

「迷宮」は迷路のように入り組んだ場所を表す言葉です。 名前について(英語)

目次

リファレンス

パズルの登録

import { … } from "@johnmorrisdotca/meikyuu/element/define";

最小化と gzip 圧縮をしたサイズは 52.8 kB(読み込むものをすべて含み、esbuild で計測)

リファレンスの説明と例は英語です。見出しと目次は日本語です。

Defines the <meikyuu-board> element on the page. Import it for its effect:

<script type="module" src="https://cdn.jsdelivr.net/npm/@johnmorrisdotca/meikyuu@2/dist/element-define.js"></script>
<meikyuu-board level="12"></meikyuu-board>

A tag already defined is left as it is, and on a server, where there is no page, nothing happens.

エクスポート

名前種類概要
defineBoard関数Register a standard or custom tag without replacing a definition.
MEIKYUU_EMBED_OPTION_KEYS定数The real mounted-board options, checked by TypeScript and the embed builder.
MeikyuuBoardクラスNative custom element with reflected setup and presentation.
MeikyuuElementOptions型Host callbacks; the same actions emit native events.

ソースを見るGitHub で編集@johnmorrisdotca/meikyuu 3.2.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。