JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 59562
  • Score
    100M100P100Q145198F
  • License MIT

Helper directives for Vue.

Package Exports

  • vdirs

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 (vdirs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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"
/>