@vue-composable/web
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-dev.21 • Public • Published

@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

Package Sidebar

Install

npm i @vue-composable/web

Weekly Downloads

14

Version

1.0.0-dev.21

License

MIT

Unpacked Size

196 kB

Total Files

7

Last publish

Collaborators

  • pikax