mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-12-08 20:48:46 +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://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/
|
||||
|
||||
[Changelog on Medium](https://medium.com/@yev_dev/vue-js-modal-changelog-61f934691b67)
|
||||
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://media.giphy.com/media/3oKIPco1eNxAA1rD4Q/giphy.gif">
|
||||
</p>
|
||||
@@ -105,7 +109,7 @@ this.$modal.show('dialog', {
|
||||
title: 'Alert!',
|
||||
text: 'You are too awesome',
|
||||
buttons: [
|
||||
{ title: 'Deal with it', handler: () => { alert('Woot!') },
|
||||
{ title: 'Deal with it', handler: () => { alert('Woot!') } },
|
||||
{ title: 'Close' }
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user