viperHTML / viperhtml.github.io

Showcase of the ${hyper,viper,native}HTML family
ISC License
27 stars 11 forks source link

Add Vue input list bindings example. #15

Closed albertosantini closed 6 years ago

albertosantini commented 6 years ago

This example shows a list of inputs.

The template is tricky and the casual user can implement in a different way with a different result: from wrong rendering to runtime errors.

The follow-up is not straightforward from the basic input binding example: indeed there is a getWire using an integer instead of an object, (the wire parameter).

I didn't modify js/index.js providing a live demo, because the snippets are in webreflection context. I am afraid you need to add it yourself.

Fix #11

WebReflection commented 6 years ago

I don't understand this PR ... two const App ?

albertosantini commented 6 years ago

Ops... sorry bad copy&paste.... fixing and squashing.

albertosantini commented 6 years ago

And I prefer to create a branch... sorry for the mess. I close this PR and open and new one.