Multi-line Signals#
Demo#
Explanation#
<div
data-signals="{
foo: 1234,
bar: 'bar'
}"
>
<div data-computed-baz="$foo * 2"></div>
<input type="number" step="1" min="0" data-bind-foo />
<input type="text" data-bind-baz />
<input type="text" data-bind-bar />
</div>