Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods to hide/unhide #296

Closed
anteksiler opened this issue Feb 11, 2018 · 4 comments
Closed

Methods to hide/unhide #296

anteksiler opened this issue Feb 11, 2018 · 4 comments

Comments

@anteksiler
Copy link

I think it would be great to have methods for more complex functionalities.

@thisbailiwick
Copy link

thisbailiwick commented Feb 24, 2018

I used something like this to pin and unpin manually. Based on your issue title I think this may be what you're looking for.
Your comment seems to be looking for more.

function custom_pin_header() {
    headroom.__proto__.pin.call(headroom);
}

function custom_unpin_header() {
    headroom.__proto__.unpin.call(headroom);
 }

@WickyNilliams
Copy link
Owner

or just call someHeadroomInstance.pin()

@hacknug
Copy link
Collaborator

hacknug commented Aug 13, 2019

@WickyNilliams maybe we should add a Methods section to the README mentioning this and other undocumented methods?

@WickyNilliams
Copy link
Owner

Great idea. There's an open issue about adding one thing to the docs, I'll expand its scope to include all documentation changes that come about as a result of cleaning up house.

@WickyNilliams WickyNilliams mentioned this issue Aug 13, 2019
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants