Charlie Duong fc82ef0cf0 Deprecated w-on* attributes (#434)
Added support for on*() attributes.
2016-11-16 10:53:51 -08:00

17 lines
506 B
Plaintext

<div class="foo" w-bind="./widget">
<app-bar ref="bar"/>
<app-bar ref="bar2"/>
<app-bar ref="barArray[]" label="1"/>
<app-bar ref="barArray[]" label="2"/>
<app-custom-events onTestEvent("handleTestEvent1") ref="customEvents" />
<app-custom-events onTestEvent("handleTestEvent2") channel="customEvents-${widget.id}" />
<ul>
<li for(color in ['red', 'green', 'blue']) ref="colorListItems[]">${color}</li>
</ul>
<span class="config" ref="config"></span>
</div>