locked
Handling Drag App from Top Edge

    Question

  • Hello

    Everyone should know that you can drag an App from top edge to bottom edge to close it, or from top to left or right to snap. I also know that I can use 

    window.addEventListener("resize", function (e) {});

    to handle snapped, filled views

    But my question is, how can I add eventListener to detect when user start dragging from top (not put it to right, left, or bottom yet)  so that I can pause my real-time game immediately when user start dragging the top

    Thanks

    kanpot2002

    Saturday, September 08, 2012 5:04 AM

Answers

All replies