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
3623c4abc9
svelte
/
test
/
runtime
/
samples
/
window-binding-resize
/
main.html
3 lines
95 B
Raw
Blame
History
<
svelte:window
bind:innerWidth
=
'width'
bind:innerHeight
=
'height'
/
>
<
div
>
{width}x{height}
<
/
div
>
Reference in new issue
View Git Blame
Copy Permalink