UNPKG

uhtml

Version:
17 lines (13 loc) • 425 B
'use strict'; 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;