1.0.0-dev.21 • Published 4 years ago
@vue-composable/web v1.0.0-dev.21
@vue-composable/web
This package contains Web API
vue-next
Installing
# install with yarn
yarn add @vue/composition-api @vue-composable/web
# install with npm
npm install @vue/composition-api @vue-composable/web
Documentation
Check our documentation
Event
- Event - Attach event listener to a DOM element
- Mouse Move - Attach
mousemove
listener to a DOM element - Resize - Attach
resize
listener to a DOM element - Scroll - Attach
scroll
listener to a DOM element
Breakpoint
- MatchMedia - reactive
MatchMedia
- Breakpoint - reactive
breakpoints
based onwindow.innerWidth
- Chrome - reactive chrome breakpoints
- TailwindCSS - reactive TailwindCSS breakpoints
MISC
- sharedRef - cross-tab reactive
ref
Intl
- numberFormat - Intl.NumberFormat
- currencyFormat - CurrencyFormat with Intl.NumberFormat
Storage
- WebStorage - Reactive access to
Storage API
,useLocalStorage
anduseSessionStorage
use this - storage - uses
localStorage
or on safari private it usessessionStorage
- localStorage - Reactive access to a
localStorage
- sessionStorage - Reactive access to a
sessionStorage
Web
- Fetch - reactive
fetch
wrapper - WebSocket - reactive
WebSocket
wrapper - IntersectionObserver - reactive
IntersectionObserver
- NetworkInformation - reactive
NetworkInformation
wrapper - Online - reactive
navigator.onLine
wrapper - PageVisibility - reactive
Page Visibility API
- Language - reactive
NavigatorLanguage
- BroadcastChannel - reactive
BroadcastChannel API
- Geolocation API
- CSS variables - reactive
CSS variables
- Worker -
Web Worker API
- WorkerFunction - Webworker Function, offload a function to webworker
Contributing
- Fork it!
- Create your feature branch:
git checkout -b feat/new-composable
- Commit your changes:
git commit -am 'feat(composable): add a new composable'
- Push to the branch:
git push origin feat/new-composable
- Submit a pull request
License
1.0.0-dev.21
4 years ago
1.0.0-dev.20
4 years ago
1.0.0-dev.19
4 years ago
1.0.0-dev.18
4 years ago
1.0.0-dev.17
4 years ago
1.0.0-dev.16
4 years ago
1.0.0-dev.15
4 years ago
1.0.0-dev.14
4 years ago
1.0.0-dev.13
4 years ago
1.0.0-dev.12
4 years ago
1.0.0-dev.11
4 years ago
1.0.0-dev.10
4 years ago
1.0.0-dev.9
4 years ago
1.0.0-alpha.8
4 years ago
1.0.0-dev.8
4 years ago
1.0.0-alpha.7
4 years ago
1.0.0-dev.7
4 years ago
1.0.0-dev.6
4 years ago
1.0.0-dev.4
4 years ago
1.0.0-dev.3
4 years ago
1.0.0-alpha.5
4 years ago
1.0.0-alpha.4
4 years ago
1.0.0-alpha.1
4 years ago
1.0.0-alpha.0
4 years ago
1.0.0-dev.2
4 years ago
1.0.0-dev.0
4 years ago