diff --git a/src/view-compiler.js b/src/view-compiler.js index dcbf167a..3b09717b 100644 --- a/src/view-compiler.js +++ b/src/view-compiler.js @@ -294,7 +294,7 @@ export class ViewCompiler { type = resources.getElement(node.getAttribute('as-element') || tagName); if (type) { elementInstruction = BehaviorInstruction.element(node, type); - type.processAttributes(this, resources, attributes, elementInstruction); + type.processAttributes(this, resources, node, attributes, elementInstruction); behaviorInstructions.push(elementInstruction); } }