Proposal: Exposing native scroll as API

Claude Pache claude.pache at gmail.com
Fri Jun 21 16:30:20 UTC 2019



> Le 21 juin 2019 à 16:07, Adam Eisenreich <akxe at seznam.cz> a écrit :
> 
> Hello everyone. I think browsers should expose the native scroll as API. 
> 
> Possible uses:
> * Native-like scroll in canvas apps (games) - Google's Proxx (https://proxx.app/) had to do quite a bit of magic to have native scroll for a game.
> * Camera controls for touch device (3D model preview)
> Gesture recognition (maybe)
> * Infinite scroll (they could get rid of the invisible long div, that makes the scrolling inside possible) - Angular virtual scroll implementation https://material.angular.io/cdk/scrolling/overview <https://material.angular.io/cdk/scrolling/overview>

Scrolling is not part of ECMASCript (the core language), but is provided by a Web API. This is out of the scope of this mailing list.

—Claude

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20190621/5d18a08f/attachment.html>


More information about the es-discuss mailing list