11#vue-comps-modal
22
3- the best modal you can get
3+ the best modal you can get.
44
5- ###[ See it in action ] ( https://vue-comps.github.io/vue-comps-modal )
5+ ###[ Demo ] ( https://vue-comps.github.io/vue-comps-modal )
66
77#Install
88
99``` sh
1010npm install --save-dev vue-comps-modal
1111```
12- or include` build/bundle.js `
12+ or include` build/bundle.js ` .
1313
1414##Usage
1515``` coffee
@@ -20,8 +20,17 @@ components:
2020components :
2121" modal" : window .vueComps .modal
2222```
23+ ``` html
24+ <button > Open Modal
25+ <modal >
26+ Content
27+ </modal >
28+ </button >
29+ ```
30+
31+ For examples see[ ` dev/ ` ] ( https://github.com/vue-comps/vue-comps-modal/tree/master/dev ) .
2332
24- For examples see ` dev/ `
33+ Note, that the modal will be appended to ` document.body ` on first opening.
2534
2635####Props
2736| Name| type| default| description|
@@ -47,12 +56,12 @@ For examples see `dev/`
4756
4857
4958#Development
50- Clone repository
59+ Clone repository.
5160``` sh
5261npm install
5362npm run dev
5463```
55- Browse to` http://localhost:8080/ `
64+ Browse to` http://localhost:8080/ ` .
5665
5766##License
5867Copyright (c) 2016 Paul Pflugradt