Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Releases: drublic/hongkong

1.2.0

Choose a tag to compare

@drublic drublic released this 15 Feb 12:09
  • Add possiblity to move the animated element to the left via attribute

1.1.0

Choose a tag to compare

@drublic drublic released this 15 Feb 12:09
  • Add new test page for test-modules

1.0.1

Choose a tag to compare

@drublic drublic released this 15 Feb 12:09
  • Fix requiring module via webpack

1.0.0

Choose a tag to compare

@drublic drublic released this 15 Feb 12:08
  • 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

1.0.0 - First beta Pre-release
Pre-release

Choose a tag to compare

@drublic drublic released this 24 Oct 07:09

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

Choose a tag to compare

@drublic drublic released this 15 Oct 21:53
  • 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

Choose a tag to compare

@drublic drublic released this 08 Oct 21:04
  • Use $scrollBottom[i] when iterating over $scrollBottom

0.3.0

Choose a tag to compare

@drublic drublic released this 05 Oct 14:50
  • Implement options for parallax scrolling via jQuery plugin
  • Update plugin to better version
  • Add event hongkong:refresh for recalculation

Release v0.2.0

Choose a tag to compare

@drublic drublic released this 21 Jul 21:53
  • 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

Release v0.1.0

Choose a tag to compare

@drublic drublic released this 16 Jul 21:05

Initial Release