This repository was archived by the owner on Apr 6, 2020. It is now read-only.
Releases: drublic/hongkong
Releases · drublic/hongkong
Release list
1.2.0
1.1.0
1.0.1
1.0.0
- Make it possible to require module in ES6
- Only run hongkong if requestAnimationFrame is available
- Remove slow visiblitity change, use VanillaJS scrollPosition
- Fix element's viewport calculation
- Add option data-parallax-remove-general-offset
- Fire initializing elements when resizing the browser
- Set threshold for showing and hiding elements via option
- Make it possible to pass a specific page offset for elements on scroll
- Use data-parallax as main entry point for elements
- Translate files to ES6 and use Webpack and Babel for compilation
Performance
- Performance improvements when rendering (especially not use getBoundingClient rect)
- Use jQuery to call current scrollTop - performance
- Fixing IE10 performance issues
- Implement better algorithms for visibility of element
- Use window height as variable instead of requesting on scroll
Documentation
- More information to README file
- Use implicit transform values of each element
1.0.0 - First beta
Rewrite with v1.0.0 which is supposed to be a stable version.
- Fix element's viewport calculation
- Remove general offset issue when setting remove-general-offset
- Add option data-parallax-remove-general-offset
- Fire initializing elements when resizing the browser
- Bufix: transforms function
- Add documentation JS
- Add docs for
threshold - Set threshold for showing and hiding elements via option
- Make it possible to pass a specific page offset for elements on scroll
- Performance improvements when rendering (especially not use getBoundingClient rect)
- Implement better algorithms for visibility of element
- Use bin/hongkong.js as main entry point
- Add minimized output
- More information to README file
- Remove outdated content from test/index.html
- Update README with new selector
- Add yarn.lock to gitignore
- Use data-parallax as main entry point for elements
- Two spaces for css
- Use window height as variable instead of requesting on scroll
- Fix animated bottom elements
- Use implicite transform values of each element
- Translate files to ES6 and use Webpack and Babel for compilation
- Remove .js in README install of package
0.4.0
- Use two instead of 4 spaces
- Remove bower dependency
- Update dependencies to latest
- Create test1.html to highlight problems with initial positioning
- Change $scrollBottom to $scrollTop as discussed in #9
- Travis: Add Bower to dependencies
- Add Travis for testing with badges and postinstall hook
- Add 'use strict' to Hongkong to be complient with JSHint
- Add testing with Jasmine and JSHint for code style
0.3.1
0.3.0
Release v0.2.0
- Update README with better statement about where to put scripts
- Use native style property of event instead of jQuery's css-fn
- Use Math.floor instead of parseInt for better calculation
- Remove unnecessary variable, make factor calculation faster
- Add translateZ(0) to scroll operation to use GPU
- Remove throttle function and add necessity check
- Add meta viewport in visual test
- Swap $scrollTop variable to $scrollBottom in $scrollBottom block of code
- Probably fixes scrollTop issues with Firefox
- Make it faster
- Use spaces instead of tabs
- Update parallax script path in test/index.html