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

Implement global MediaQueryList instance #9

Open
75th opened this issue Feb 14, 2018 · 0 comments
Open

Implement global MediaQueryList instance #9

75th opened this issue Feb 14, 2018 · 0 comments
Assignees
Milestone

Comments

@75th
Copy link
Owner

75th commented Feb 14, 2018

Each ScrollTrigger, ScrollAnimation, and ParallaxAnimation creates a new MediaQueryList object with default settings. I should make a single global one. While I'm at it, I might as well let users set their own global default, probably with a static method on ScrollDetector.

@75th 75th self-assigned this Feb 14, 2018
@75th 75th added this to the v1.0.0 milestone Feb 14, 2018
@75th 75th changed the title Implement global MediaQueryList instance Implement global MediaQueryList instance Feb 15, 2018
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

1 participant