1.0.6 • Published 4 years ago

vue-if-device v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

vue-if-device

vue-if-device is a simple vue plugin to show/hide node on mobile/desktop devices.

Install

npm install --save vue-if-device

Quick Start

import device from 'vue-if-device'
Vue.use(device)

Usage

Directives

  • v-if-device.mobile
  • v-if-device.desktop.

Functions

The plugin provides one function to use:

FunctionArgumentsDescription
$isMobileNoneCheck in relation to the configuartion if the device type is mobile.

License

MIT - Created by Aleksey Zimin (@zimingit)

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago