Commit 3052f81e authored by David Sveningsson's avatar David Sveningsson
Browse files

feat(transform): new helper `processElement` for writing tests

parent 6e6b1272
import { HtmlElement, DynamicValue } from "../../dom";
export function processElement(node: HtmlElement): void {
if (node.hasAttribute("bind-text")) {
node.appendText(new DynamicValue(""));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment