Skip to the content

Jirai地雷

Deal seeded minefields, prove hints from visible clues and mount square, orthogonal, hexagonal or wraparound boards.

Jirai is the Japanese word 地雷 for a land mine. About the name

Contents

Reference · Minesweeper element

defineJiraifunction

Registers the compatible default tag in a registry.

Import it

import { defineJirai } from "@johnmorrisdotca/jirai/element";

Also exported from: @johnmorrisdotca/jirai/element/define

Definition

function defineJirai(registry?: CustomElementRegistry | undefined): void

Parameters

NameTypeDescription
registry (optional)CustomElementRegistry | undefined

The custom-element registry; omitted outside a browser.

Examples

import { defineJirai } from "@johnmorrisdotca/jirai/element";
defineJirai();
console.log(typeof defineJirai); // function
function

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jirai 0.5.0.