Created
July 11, 2019 20:23
-
-
Save iazel/968ecc083418274ec3703430758b6281 to your computer and use it in GitHub Desktop.
Composable Reactive UI / Input with event
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { h, sc2, props, on } from '@crui/core' | |
const input = h('input', sc2( | |
props({ className: 'add-todo-submit' }), | |
on('input', (e) => doSomething(e)), | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment