Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Latest commit

 

History

History
11 lines (8 loc) · 351 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 351 Bytes

MdSticky

Directive to make arbitrary elements sticky using ngMaterial's $mdSticky service. Used ngMaterial's subheader directive as a reference.

##Usage Assuming you are already using ngMaterial for your project, add mdSticky as a dependancy.

Next, add md-sticky to the element that will become sticky

<div md-sticky>My sticky div</div>