marko
Version:
UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.
20 lines (19 loc) • 319 B
JavaScript
;
/**
* Helper to render a custom tag
*/
module.exports = function renderTagHelper(
handler,
input,
out,
componentDef,
key,
customEvents)
{
out.c(componentDef, key, customEvents);
(handler._ || (handler._ = handler.render || handler.renderer || handler))(
input,
out
);
out.ab_ = null;
};