dalphyx / vue-headroom

Headroom for Vuejs
128 stars 16 forks source link

Additional events #8

Closed samburgers closed 7 years ago

samburgers commented 7 years ago

Hi, any chance you could add the full suite of Headroom events to this? The onTop one is the one that i need to access. Thanks!

From the headroom docs:

    // callback when pinned, `this` is headroom object
    onPin : function() {},
    // callback when unpinned, `this` is headroom object
    onUnpin : function() {},
    // callback when above offset, `this` is headroom object
    onTop : function() {},
    // callback when below offset, `this` is headroom object
    onNotTop : function() {},
    // callback when at bottom of page, `this` is headroom object
    onBottom : function() {},
    // callback when moving away from bottom of page, `this` is headroom object
    onNotBottom : function() {}
dalphyx commented 7 years ago

@samburgers You can try new version :)

samburgers commented 7 years ago

thanks for this