0.0.11 • Published 3 years ago
easy-board v0.0.11
Easy-Board
Usage
import EasyBoard, { draw } from "easy-board";
// [target] is a DOM elemnt for mount canvas
const Window = EasyBoard({ target: "#board-canvas" });
const Button = draw("button")
.Styles({ width: 70, height: 20, color: "grey" })
.TextField("Clik Me")
.on("click", () => {
Window.Style({ color: "withe" });
});