Charlie Duong e1940a7ff0 Introduce "ref" and "for-ref" attributes
Deprecated "w-id" and "w-for"
2016-11-13 15:39:53 -05:00

10 lines
241 B
Plaintext

<button ${data.rootAttrs}
w-onclick="handleClick"
w-bind="./widget">
<if(data.label)>
<span ref="label">${data.label}</span>
</if>
<invoke data.renderBody(out, widget)
else-if(data.renderBody)/>
</button>