hl-sticky

The magical sticky directive.

The directive makes use of the hlStickyElementCollection service to take care of stacking, so a lot of the documentation can be found there. It also makes use of the hlStickyElement service to become sticky and so a lot of the documentation can be found there as well.

By default a class called hl-sticky is being added to the element the directive has been applied to.

Full example

	
I'll become sticky

Demos

Attributes