Skip to the content

Kotoba言葉

Load only the word lists you need, mark repeated letters correctly and play a daily or seeded word game.

Kotoba is the Japanese word for words. About the name

Contents

Reference · Game element

KOTOBA_EMBED_OPTION_KEYSconstant

Real mounted options, checked alongside builder coverage.

Import it

import { KOTOBA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kotoba/element";

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

Definition

const KOTOBA_EMBED_OPTION_KEYS: string[] = Object.keys({ words: true, size: true, easy: true, rows: true, seed: true, daily: true, hidden: true, locale: true, strings: true, theme: true, keyboard: true, keyboardTarget: true, onFinish: true, onChange: true, load: true, now: true } satisfies Record<keyof KotobaPlayOptions, boolean>)

Examples

import { KOTOBA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kotoba/element";
console.log(typeof KOTOBA_EMBED_OPTION_KEYS); // object
object

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kotoba 1.2.0.