Skip to content

Conversation

@anilanar
Copy link
Contributor

@anilanar anilanar commented Jul 15, 2018

  • Add moveTo and moveBy to Window
  • Add resizeTo and resizeBy to Window
  • Add scrollX and scrollY to Window
  • Undo addition of CanvasRenderingContext2D.moveBy

Sorry for the previous PR, it was hastily made.

I also used Int as arguments type for window position related functions (in line with https://github.com/purescript-web/purescript-web-html API). Window positions are integers across all operating systems.

Maybe you can keep this PR open and I can add other missing functions and properties? I'm going through them right now.

@anilanar
Copy link
Contributor Author

@sjrd This is ready.

@anilanar anilanar force-pushed the window-move-to-and-move-by branch from e14a50b to 4bb6f16 Compare July 22, 2018 21:58
@armanbilge armanbilge changed the base branch from master to series/1.x August 10, 2021 01:13
@armanbilge armanbilge force-pushed the window-move-to-and-move-by branch from 2966bf6 to 4bb6f16 Compare August 10, 2021 01:19
@japgolly japgolly force-pushed the window-move-to-and-move-by branch from 4bb6f16 to 0221fc0 Compare August 12, 2021 23:48
@japgolly japgolly merged commit 45ad801 into scala-js:series/1.x Aug 12, 2021
@japgolly
Copy link
Contributor

Thanks for your contribution @anilanar and sorry it took so long!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants