mount
Starts a Valyrian.js application on a DOM target.
Table of contents
Category
Value
Import
jsimport { mount } from "valyrian.js";Public signature
tsmount(dom: string | DomElement, component: ValyrianComponent | VnodeComponentInterface | any): stringEnvironment result
In the browser, mount patches the selected DOM target and returns "". In Node, mount renders against the server DOM adapter and returns the generated HTML string.