Sends events to the server each change instantly

parent 8093fd11
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
viewModel="@id('vm') @init('dgpena.siexample.webapp.SampleVM')" viewModel="@id('vm') @init('dgpena.siexample.webapp.SampleVM')"
> >
<vlayout> <vlayout>
<textbox value="@bind(vm.name)" onChanging="@command('increment')"></textbox> <textbox value="@bind(vm.name)" onChanging="@command('increment')" instant="true"></textbox>
<label value="@bind(vm.name)"></label> <label value="@bind(vm.name)"></label>
<button label="increment" onClick="@command('increment')"></button> <button label="increment" onClick="@command('increment')"></button>
......
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