1. vdirs
Helper directives for Vue.
vdirs
Package: vdirs
Last modified: Mon, 23 May 2022 04:07:06 GMT
Version: 0.1.8
License: MIT
Downloads: 96,330

Install

npm install vdirs
yarn add vdirs

vdirs

Helper directives for Vue.

Installation

 npm install --save-dev vdirs

Docs

zindexable

Description

Set largest z-index on the most recently displayed element.

Usage

 import { zindexable } from 'vdirs'

export default {
  directives: {
    zindexable
  }
}
 <div
  v-zindexable="{
    enabled: boolean,
    zIndex?: number
  }"
/>

clickoutside, mousemoveoutside

Description

As the names.

Usage

 import { clickoutside, mousemoveoutside } from 'vdirs'

export default {
  directives: {
    clickoutside,
    mousemoveoutside
  }
}
 <div
  v-clickoutside="(e: MouseEvent) => any"
  v-mousemoveoutside="(e: MouseEvent) => any"
/>

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin