mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2026-02-11 11:59:28 +00:00
Merge branch 'master' of https://github.com/euvl/vue-modal
This commit is contained in:
10
README.md
10
README.md
@@ -1,12 +1,16 @@
|
|||||||
|
<p align="center">
|
||||||
|
|
||||||
|
# Vue.js modal
|
||||||
|
|
||||||
[](https://badge.fury.io/js/vue-js-modal)
|
[](https://badge.fury.io/js/vue-js-modal)
|
||||||
[](https://www.npmjs.com/package/vue-js-modal)
|
[](https://www.npmjs.com/package/vue-js-modal)
|
||||||
|
|
||||||
# Vue.js modal
|
|
||||||
|
|
||||||
##### Simple to use, highly customizable, mobile friendly Vue.js 2.0+ modal with SSR support. http://vue-js-modal.yev.io/
|
##### Simple to use, highly customizable, mobile friendly Vue.js 2.0+ modal with SSR support. http://vue-js-modal.yev.io/
|
||||||
|
|
||||||
[Changelog on Medium](https://medium.com/@yev_dev/vue-js-modal-changelog-61f934691b67)
|
[Changelog on Medium](https://medium.com/@yev_dev/vue-js-modal-changelog-61f934691b67)
|
||||||
|
|
||||||
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://media.giphy.com/media/3oKIPco1eNxAA1rD4Q/giphy.gif">
|
<img src="https://media.giphy.com/media/3oKIPco1eNxAA1rD4Q/giphy.gif">
|
||||||
</p>
|
</p>
|
||||||
@@ -105,7 +109,7 @@ this.$modal.show('dialog', {
|
|||||||
title: 'Alert!',
|
title: 'Alert!',
|
||||||
text: 'You are too awesome',
|
text: 'You are too awesome',
|
||||||
buttons: [
|
buttons: [
|
||||||
{ title: 'Deal with it', handler: () => { alert('Woot!') },
|
{ title: 'Deal with it', handler: () => { alert('Woot!') } },
|
||||||
{ title: 'Close' }
|
{ title: 'Close' }
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user