Skip to the content

Suido水道

Turn pipes to connect the pumps and drains, through fixed levels or seeded puzzles.

Suido means water supply in Japanese. About the name

Contents

Reference · Playable board

ensureSuidoPlayStylefunction

Put the style in the page once: in the document's head, or in the shadow root the host is in.

Import it

import { ensureSuidoPlayStyle } from "@johnmorrisdotca/suido/play";

Definition

function ensureSuidoPlayStyle(host: Element): void

Parameters

NameTypeDescription
hostElement

The DOM host for the scoped native board styles.

Examples

import { ensureSuidoPlayStyle } from "@johnmorrisdotca/suido/play";

const host = document.createElement("div");
document.body.append(host);
ensureSuidoPlayStyle(host);
console.log(host.tagName);

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/suido 1.7.0.