Template Syntax
Two-way Binding
There is no model attribute — bind manually with a value + oninput handler:
Component.html
<input type="text" value="{state.text}" oninput="(e) => state.text = e.target.value" /> <p>Echo: {state.text}</p>
There is no model attribute — bind manually with a value + oninput handler:
<input type="text" value="{state.text}" oninput="(e) => state.text = e.target.value" /> <p>Echo: {state.text}</p>