This website works better with JavaScript.
欢迎来到马士兵代码仓库
Sign In
msb-public
/
svelte
mirror of
https://github.com/sveltejs/svelte
Watch
1
Star
0
Code
Issues
Projects
Releases
Wiki
Activity
b79e37c727
svelte
/
test
/
validator
/
samples
/
event-handler-ref
/
input.html
2 lines
76 B
Raw
Blame
History
<
input
ref:input
>
<
button
on:click
=
'refs.input.focus()'
>
focus input
<
/
button
>
Reference in new issue
View Git Blame
Copy Permalink