<commit_before># Vuedals

VueJS (2.x) Plugin for multiple modals windows with a single component instance.

## DEMO

[View demo on jsFiddle](https://jsfiddle.net/ackqudv7/1/)

### What is this?

A plugin to open stocked modals windows, event based, with just one component in your DOM.

### What do you mean with "just one component"?

e.g. if you want to have 3 modals, you don't need to add the component 3 times, just one (preferably in the root of your app) and open as many modals as you want by using an Event Bus

## Install

Install with npm:

```js
npm install --save vuedals
```

## Example

```js
import Vue from 'vue';
import {default as Vuedals, Component as Vuedal, Bus as VuedalsBus} from 'vuedals';

Vue.use(Vuedals);

var myComp = Vue.extend({
	template: `<div>
	        <h1>Hello World!</h1>
			<button @click="showIt()">Show me the money</button>
	    </div>`,<commit_msg>Updated the jsFiddle demo link<commit_after># Vuedals

VueJS (2.x) Plugin for multiple modals windows with a single component instance.

## DEMO

[View demo on jsFiddle](https://jsfiddle.net/ackqudv7/19/)

### What is this?

A plugin to open stocked modals windows, event based, with just one component in your DOM.

### What do you mean with "just one component"?

e.g. if you want to have 3 modals, you don't need to add the component 3 times, just one (preferably in the root of your app) and open as many modals as you want by using an Event Bus

## Install

Install with npm:

```js
npm install --save vuedals
```

## Example

```js
import Vue from 'vue';
import {default as Vuedals, Component as Vuedal, Bus as VuedalsBus} from 'vuedals';

Vue.use(Vuedals);

var myComp = Vue.extend({
	template: `<div>
	        <h1>Hello World!</h1>
			<button @click="showIt()">Show me the money</button>
	    </div>`,
{'fraction_non_alphanumeric': 0.11222222222222222, 'fraction_numerical': 0.008333333333333333, 'mean_word_length': 3.8807588075880757, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4678510', 'n_tokens_mistral': 624, 'n_tokens_neox': 588, 'n_words': 255}