Skip to content

Commit

Permalink
add events to text input
Browse files Browse the repository at this point in the history
  • Loading branch information
IshiniAvindya committed Dec 8, 2023
1 parent 08fb2d2 commit 63d2c64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyvor/design",
"version": "0.0.12",
"version": "0.0.13",
"license": "MIT",
"private": false,
"scripts": {
Expand Down
11 changes: 11 additions & 0 deletions src/lib/components/TextInput/TextInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@
<input
{...$$restProps}
bind:this={input}

on:keyup
on:keydown
on:keypress
on:focus
on:blur
on:click
on:mouseover
on:mouseenter
on:mouseleave
on:change
/>

{#if $$slots.end}
Expand Down

0 comments on commit 63d2c64

Please sign in to comment.