1.0.12 • Published 4 years ago
@domodel/grid v1.0.12
domodel-grid
Grid system for domodel.
Getting started
Installing
npm install @domodel/grid
Usage
import { Core } from "domodel"
import { Grid, GridModel, GridBinding } from "@domodel/grid"
import CellModel from "./model/cell.js"
window.addEventListener("load", async function() {
const grid = new Grid()
Core.run(GridModel, {
binding: new GridBinding({ grid }),
parentNode: document.body
})
})