-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make matchMedia features object return values via a property getter,
allowing dynamic use of the object in event handlers. Add window.matchMedia query + event listener for color-scheme changes, allows map to adapt without having to shake it.
- Loading branch information
1 parent
6d479c3
commit 872d89f
Showing
1 changed file
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters