Miela
Miela
Oh I've actually wanted this too I might have a look when I get a moment later
I have code for something like this, @adryd325 would you be interested in a PR? (I saw in another PR this was mostly just a base to build from but...
Thank you! Oh true, I didn't even think of that. I'll try after work if I get a chance And do you mean like as a bool or the key...
Ohh cool okay Btw working on this I noticed `beforeUnload` not getting called, and it turns out [the event isn't fired when there isn't interaction](https://stackoverflow.com/questions/24081699/why-onbeforeunload-event-is-not-firing), or at least I can't...
It can be set based on `data-persist-position` now c: I've set the default to true as well but it's just a bool so easy to change that
That specifically didn't work but I just got data to store with both `unload` and `beforeunload` even though it was the same as I used before? So going to see...
Turns out I did a stupid and tried to add the event to document at first and just never realised, but I think it only works for window So it...
You can do this by changing `nekoEl.style.position = "fixed";` to `nekoEl.style.position = "absolute";` in `init()` if you wanted to do it yourself, but not sure if this is seen as...