mirror of https://github.com/sveltejs/svelte
parent
53f7d1485e
commit
ed3159194e
@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
let focused = $state(false);
|
||||
</script>
|
||||
|
||||
<input bind:focused={focused} type="text" />
|
||||
<textarea bind:focused={focused}></textarea>
|
||||
<select bind:focused={focused}></select>
|
||||
<div bind:focused={focused}></div>
|
||||
Loading…
Reference in new issue