dalphyx / vue-headroom

Headroom for Vuejs
128 stars 16 forks source link

Support for classes based on state? #3

Closed jpt closed 7 years ago

jpt commented 7 years ago

Hi @dalphyx, Headroom.js supports these:

        initial : "headroom",
        // when scrolling up
        pinned : "headroom--pinned",
        // when scrolling down
        unpinned : "headroom--unpinned",
        // when above offset
        top : "headroom--top",
        // when below offset
        notTop : "headroom--not-top",
        // when at bottom of scoll area
        bottom : "headroom--bottom",
        // when not at bottom of scroll area
        notBottom : "headroom--not-bottom"

Is there a plan to support them in vue-headroom? Or are they already supported somewhere but maybe just not documented? Thanks!