Skip to content

Releases: harm-less/angular-sticky

v0.1.1-0

19 Apr 21:06
Compare
Choose a tag to compare

Pre-release bottom anchor and sticky events

v0.1.0

26 Mar 11:05
Compare
Choose a tag to compare

Improvements

  • Improvement: Angular is annotated (using the "ngAnnotate" Grunt task). So it's save to minify the dist files now.
  • Improvement: An isSticky() method is given by hlStickyElement to the stack it's added to. This is used for calculating the stack offset properly.
  • Destroying a hlStickyElementCollection with destroy() removes all the elements it contains so you don't have to do it mannually.
  • The hlSticky directive has become a bit smaller in terms of code due to a few handy tricks.

API changes

  • The hlSticky attribute "sticky-id" is no longer used because "hl-sticky" did exaclty the same thing. So if you want to set the ID for a sticky element just use "hl-sticky='some-id'"
  • hlStickyStack.totalHeightAt() > hlStickyStack.heightAt()
  • hlStickyStack.totalHeightCurrent() > hlStickyStack.heightCurrent()
  • hlStickyElementCollection.destroy() no longer has the parameter "force" (read improvements)

Bugfixes

  • hlStickyStack.removeTop() didn't reset the z-index

v0.0.6

12 Mar 16:15
Compare
Choose a tag to compare
  • 95% code coverage
  • minor bug fixes

Alpha

13 Feb 15:05
Compare
Choose a tag to compare
Alpha Pre-release
Pre-release
0.0.1

Added bower file