JSPM

vuetify-multiple-draggable-dialogs

1.1.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 319
  • Score
    100M100P100Q96196F
  • License Apache-2.0

A mixin that gives ability to have multiple active draggable dialogs

Package Exports

  • vuetify-multiple-draggable-dialogs

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

Readme

Introduction

A mixin that gives ability to have multiple active draggable dialogs. Also it moves these dialogs to the screen center when window resized to make them visible. Inspired by https://github.com/vuetifyjs/vuetify/issues/4058

Quick start

npm install --save vuetify-multiple-draggable-dialogs

Then you need to import that mixin and pass it into Vue:

import Vue from 'vue';
import mixins from 'vuetify-multiple-draggable-dialogs';

Vue.mixin(mixins);

So far as I use Vuetify with Nuxt I store this code in /plugins/settings.js.

Don't forget to include it in nuxt.config.js. Please see here

Then somewhere in your Vue layout:

<template>

</template>

<script>
export default {
  mounted() {
    // enable using draggable dialogs
    this.activateMultipleDraggableDialogs();
  }
};
</script>

DEMO