Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ItemText

import type { ItemText } from "https://scrapbox.io/api/code/Mijinko/Deno_Doc/mod.ts";

テキストでボタンの中身を表示するタイプのボタンの情報を格納しておくための型

type ItemText = {
type: "text";
name: string;
text: string;
onClick: (e: MouseEvent) => void;
}
;

§Type

§
{
type: "text";
name: string;
text: string;
onClick: (e: MouseEvent) => void;
}
[src]