@vue-composable/web

@vue-composable/web
745 1,178
Install
npm install @vue-composable/web@next
Latest Version:1.0.0-alpha.8
License:MIT
Last Updated:Feb 3, 2023
Links: GitHub  ·  npm
Maintainer: pikax

@vue-composable/web

vue-composable logo

npm version bundle size

This package contains Web API

vue-next

For vue-next support please check @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

MISC

Intl

Storage

  • WebStorage - Reactive access to Storage API, useLocalStorage and useSessionStorage use this
  • storage - uses localStorage or on safari private it uses sessionStorage
  • localStorage - Reactive access to a localStorage
  • sessionStorage - Reactive access to a sessionStorage

Web

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b feat/new-composable
  3. Commit your changes: git commit -am 'feat(composable): add a new composable'
  4. Push to the branch: git push origin feat/new-composable
  5. Submit a pull request

License

MIT

Related Packages

vue-condition-watcher

Vue composition API for automatic data fetching. With conditions as the core. Ea...

3,951 49

Version History

Pre-releases (25)
Version Released Vue License
1.0.0-alpha.8 MIT
1.0.0-alpha.7 MIT
1.0.0-alpha.5 MIT
1.0.0-alpha.4 MIT
1.0.0-alpha.1 MIT