Skip to the content

Hata旗

Load a native country or region flag, choose supported framing and keep each drawing’s source, author and licence.

Hata (旗) is Japanese for a flag. About the name

Contents

Reference · Native flag element

FLAG_ELEMENT_NAMEconstant

The name the element is registered under.

Import it

import { FLAG_ELEMENT_NAME } from "@johnmorrisdotca/hata/element";

Definition

const FLAG_ELEMENT_NAME: "hata-flag" = "hata-flag"

Examples

import { FLAG_ELEMENT_NAME } from "@johnmorrisdotca/hata/element";

console.log(document.createElement(FLAG_ELEMENT_NAME)); // <hata-flag>

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hata 1.6.0.