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

Create feature for change color, or opacity background, when scroll on in header #100

Closed
fabiorogeriosj opened this issue Oct 2, 2018 · 3 comments

Comments

@fabiorogeriosj
Copy link
Member

In the header component create a resource, which can be enabled via JS, to effect the effect of changing the header color or changing the opacity of the header background.

A good way to use via JS would look like this:

header.changeByScroll({
  class: 'red',
  height: 200
})

Example: https://codepen.io/jhiam/pen/woZaKZ

@manaswinidas
Copy link

I'm interested

@galloj
Copy link
Contributor

galloj commented Oct 20, 2018

@fabiorogeriosj I think, that I have done it, but I don't know how to do example in docs, because header there isn't fixed. Should I just not make example?

@fabiorogeriosj
Copy link
Member Author

@galloj in this case just add a example with text, like this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants