uhtml
Version:
A micro HTML/SVG render
17 lines (13 loc) • 425 B
JavaScript
;
const { Hole, html, svg, htmlFor, svgFor, attr } = require('./keyed.js');
const { attach, detach } = require('./render/reactive.js');
exports.Hole = Hole;
exports.attach = attach;
exports.detach = detach;
exports.html = html;
exports.svg = svg;
exports.htmlFor = htmlFor;
exports.svgFor = svgFor;
exports.attr = attr;
// TODO: mostly backward compatibility ... should this change?
exports.reactive = attach;