|
3 | 3 | <p align="center"><a href="https://vue-final-modal.org" target="_blank" rel="noopener noreferrer"><img src="https://vue-final-modal.org/preview.png" alt="Vue Final Modal Logo"></a></p>
|
4 | 4 |
|
5 | 5 | <p align="center">
|
6 |
| - <a href="https://npmcharts.com/compare/vue-final-modal?minimal=true"><img src="https://img.shields.io/npm/dm/vue-final-modal.svg?sanitize=true" alt="Downloads"></a> |
7 |
| - <a href="https://www.npmjs.com/package/vue-final-modal"><img src="https://badgen.net/bundlephobia/minzip/vue-final-modal" alt="Size"></a> |
8 |
| - <a href="https://www.npmjs.com/package/vue-final-modal"><img src="https://img.shields.io/npm/v/vue-final-modal.svg?sanitize=true" alt="Version"></a> |
| 6 | + <a href="https://npmcharts.com/compare/vue-final-modal?minimal=true"><img src="https://badgen.net/npm/dm/vue-final-modal" alt="Downloads"></a> |
9 | 7 | <a href="https://www.npmjs.com/package/vue-final-modal"><img src="https://img.shields.io/npm/l/vue-final-modal.svg?sanitize=true" alt="License"></a>
|
10 | 8 | <a href="https://app.netlify.com/sites/vue-final-modal/deploys"><img src="https://api.netlify.com/api/v1/badges/444b13a8-540f-4438-94da-80c865c8f103/deploy-status" alt="Netlify Status"></a>
|
11 | 9 | </p>
|
| 10 | +<p align="center"> |
| 11 | + <a href="https://www.npmjs.com/package/vue-final-modal"><img src="https://badgen.net/npm/v/vue-final-modal" alt="Version"></a> |
| 12 | + <a href="https://www.npmjs.com/package/vue-final-modal"><img src="https://badgen.net/badgesize/brotli/hunterliu1003/vue-final-modal/master/dist/VueFinalModal.umd.js" alt="Size"></a> |
| 13 | +</p> |
| 14 | +<p align="center"> |
| 15 | + <a href="https://www.npmjs.com/package/vue-final-modal"><img src="https://badgen.net/npm/v/vue-final-modal/next" alt="Version"></a> |
| 16 | + <a href="https://www.npmjs.com/package/vue-final-modal"><img src="https://badgen.net/badgesize/brotli/hunterliu1003/vue-final-modal/next/dist/VueFinalModal.umd.js" alt="Size"></a> |
| 17 | +</p> |
12 | 18 |
|
13 | 19 | <p align="right">
|
14 | 20 | <a href="https://www.buymeacoffee.com/PL2qJIx" target="_blank" rel="noopener noreferrer">
|
@@ -113,9 +119,7 @@ Vue.component('VueFinalModal', VueFinalModal)
|
113 | 119 | ```js
|
114 | 120 | // nuxt.config.js
|
115 | 121 | export default {
|
116 |
| - plugins: [ |
117 |
| - '~plugins/vue-final-modal.js' |
118 |
| - ], |
| 122 | + plugins: ['~plugins/vue-final-modal.js'] |
119 | 123 | }
|
120 | 124 | ```
|
121 | 125 |
|
@@ -184,11 +188,11 @@ const CLASS_TYPES = [String, Object, Array]
|
184 | 188 |
|
185 | 189 | ### `@opened`
|
186 | 190 |
|
187 |
| -- Emits after modal became visible and transition ended. |
| 191 | +- Emits after modal became visible and transition ended. |
188 | 192 |
|
189 | 193 | ### `@before-close`
|
190 | 194 |
|
191 |
| -- Emits before modal is going to be closed. |
| 195 | +- Emits before modal is going to be closed. |
192 | 196 |
|
193 | 197 | ### `@closed`
|
194 | 198 |
|
|
0 commit comments