Thaber.js
Import Thaber.js / Thaber.jsの読み込み
import { Thaber } from "https://thaber.pages.dev/js/min/module/Thaber@1.0.4.min.js";
or
<script src="https://thaber.pages.dev/js/min/script/Thaber@1.0.3.min.js"></script>
and
<link rel="stylesheet" href="https://thaber.pages.dev/css/ThaberCSS@1.0.0.css"></link>
1.Setup Thaber.js / 1.Thaber.jsをセットアップしよう
const thaber = new Thaber();
Functions
thaber.files <Method>
thaber.files.$write()
//Temporarily create an input element and have the user load a file. inputを一時的に作成し、ユーザーからファイルを読み込ませる。
thaber.files.$delete(<FileName: String>)
//Delete the file. ファイルを削除する。
thaber.files.$list()
//List all currently loaded files. 現在ロードされたすべてのファイルをリストアップする
thaber.check() <Table>
thaber.check(<CheckList: List>);
//Check for invalid values. 無効な値が含まれているかの確認をする
thaber.Wait1Frame() <Table>
thaber.Wait1Frame();
//Wait 1 Frame. 1フレーム待機する
thaber.WaitSec() <Table>
thaber.WaitSec(<Second: number>);
//Wait for the specified number of seconds(mill seconds). 指定された秒数(ミリ秒)待機する
thaber.MakeElement() <Table>
thaber.MakeElement(<Name: HtmlTags.String>, <KIT: JSON>);
//Generates HTML source based on "NAME" and "KIT" and adds it to the body. "NAME"と"KIT"に基づいたHTMLソースを生成し、Bodyに追加する。