test(text-input): assert input, change events

This commit is contained in:
Eric Liu 2022-02-02 20:11:14 -08:00
commit 364bd86c05

View file

@ -9,6 +9,8 @@
labelText="User name" labelText="User name"
placeholder="Enter user name..." placeholder="Enter user name..."
bind:value bind:value
on:input="{(e) => console.log(e.detail)}"
on:change="{(e) => (value = e.detail)}"
/> />
<TextInput <TextInput