You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This is related to the issue raised in #391. Apart from unbeforeunload and popstate, there are some more window events that should be supported in the element <svelte:window>.
Describe the solution you'd like
I want to be able to use any of the supported window events without typing errors. For example:
I first came around this problem when I was playing with the back button and the history API. I added the methods I needed in #392. Now, I think it makes sense to add support for the full spec instead of just those 2 methods.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
This is related to the issue raised in #391. Apart from
unbeforeunload
andpopstate
, there are some more window events that should be supported in the element<svelte:window>
.Describe the solution you'd like
I want to be able to use any of the supported window events without typing errors. For example:
The full list can be taken from
lib.dom.d.ts
:Describe alternatives you've considered
I first came around this problem when I was playing with the back button and the history API. I added the methods I needed in #392. Now, I think it makes sense to add support for the full spec instead of just those 2 methods.
The text was updated successfully, but these errors were encountered: