Skip to the content

Hikidashi引き出し

Era dates (和暦) and kanji numerals both ways, the dictionary forms of a conjugated word, a reading shared out over its kanji, words pulled from pasted text, and how hard a sentence is to read.

Hikidashi (引き出し) is a drawer: each tool is pulled out when it is wanted. About the name

Contents

Reference · /element

defineNumeralsfunction

Defines a numeral tag once, optionally under a host's name. Safe on a server.

Import it

import { defineNumerals } from "@johnmorrisdotca/hikidashi/element";

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

Definition

function defineNumerals(tagName?: string, registry?: CustomElementRegistry | undefined): void

Parameters

NameTypeDescription
tagName (optional)string

The custom tag name; hikidashi-numerals by default.

registry (optional)CustomElementRegistry | undefined

The page's registry, or undefined on a server.

Examples

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

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hikidashi 1.1.0.