Mount a DOM tree on a target node
/learn @choojs/Nanomount
Quality Score
Category
Supported Platforms
Mount a DOM tree on a target node.
var nanomount = require('nanomount') var html = require('bel') var tree = html` <body> <h1>hello planet</h1> </body> ` nanomount(document.body, tree)
nanomount(targetNode, newNode)
Mount a DOM tree on target node.
MIT
choojs
View profile
Languages
Security Score
Audited on Jun 4, 2021