Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { h, sc2, props } from '@crui/reactive/elems'
- import { StreamBox } from '@crui/reactive/rx/box'
- import { bindValue } from '@crui/reactive/setups/bind'
- const $box = new StreamBox('')
- const input = h('input', sc2(
- props({ className: 'add-todo-input' }),
- bindValue($box)
- ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement