JSPM

  • Created
  • Published
  • Downloads 129
  • Score
    100M100P100Q78606F
  • License MIT

@vue-composable/web

Package Exports

  • @vue-composable/web

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vue-composable/web) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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