mirror of
https://github.com/cupcakearmy/use-light-switch.git
synced 2024-12-22 07:56:26 +00:00
Update README.md
This commit is contained in:
parent
6f816958f4
commit
c7b18dd752
@ -34,6 +34,8 @@ We leverage two browser features.
|
||||
|
||||
The first one is a css media query that gives us the actual user preference. with `window.matchMedia` we can get it inside of javascript and even listen on changes, which makes it reactive.
|
||||
|
||||
Currently (06.01.2020) Safari, iOS, Firefox, Chrome & Android all support these features. Edge will as soon as it converts to chromium (15.01.2020) and IE of course is a lost cause.
|
||||
|
||||
## 🚀 Quickstart
|
||||
|
||||
```typescript
|
||||
|
Loading…
Reference in New Issue
Block a user