core

Core related methods

Source:
Example
import { Core } from "domodel"

Members

(static, constant) METHOD :Method

Source:
Type:

Methods

(static) run(model, runParameters) → {Element}

Source:

Create and connect a Model to the DOM

Example
Core.run({ tagName: "div" }, { target: document.body })
Parameters:
Name Type Description
model Model
runParameters RunParameters
Returns:
Type
Element