#2645 dom::Win.scrollTo()

SlimerDude Thu 28 Sep 2017

Just to say dom::Win could do with a scrollTo() function - unless I'm missing it somewhere. Useful for those scroll-to-top situations without messing up the uri history.

A confirm() function is pretty useful for all those "Are you sure?" moments too.

In fact, a good get out clause would be a Win.eval() func so we can quickly and easily execute arbitrary javascript - that'd make a good get out of jail card.

andy Thu 5 Oct 2017

I added Win.confirm, scrollPos, scrollTo, and scrollBy

Win.eval is already there

Login or Signup to reply.