mirror of
https://github.com/cupcakearmy/use-light-switch.git
synced 2025-09-04 00:40:40 +00:00
Update README.md
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user