Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. import { h, sc2, props } from '@crui/reactive/elems'
  2. import { StreamBox } from '@crui/reactive/rx/box'
  3. import { bindValue } from '@crui/reactive/setups/bind'
  4.  
  5. const $box = new StreamBox('')
  6. const input = h('input', sc2(
  7. props({ className: 'add-todo-input' }),
  8. bindValue($box)
  9. ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement