Skip to content

Extension that gives ability to have multiple active draggable dialogs

License

Notifications You must be signed in to change notification settings

NMFES/vuetify-multiple-draggable-dialogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 vuetifyjs/vuetify#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

About

Extension that gives ability to have multiple active draggable dialogs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published