https://github.com/jakzo/swift-scroll
Renders large amounts of HTML without lag.
https://github.com/jakzo/swift-scroll
Last synced: 3 months ago
JSON representation
Renders large amounts of HTML without lag.
- Host: GitHub
- URL: https://github.com/jakzo/swift-scroll
- Owner: jakzo
- Created: 2019-12-10T01:49:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T02:18:16.000Z (over 5 years ago)
- Last Synced: 2025-01-13T20:14:34.154Z (5 months ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# SwiftScroll
> **WARNING:** Old unfinished project. Use at own risk.
_Renders large amounts of HTML without lag._
## Demo
https://jakzo.github.io/swift-scroll/demo/
## Usage
Blah.
## Performance Tips
- If you apply the CSS style `transform: translateZ(0)` to the container, it
will render faster when scrolling in most browsers because it is painted on a
separate layer to the rest of the page. Usually a repaint of the container
occurs at every instant the container is scrolled, but by using this, repaints
will only occur when more content is being scrolled into view. If you use all
vendor prefixes, this will work on every browser targeted by SwiftScroll.