mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
@@ -93,7 +93,7 @@
|
||||
},
|
||||
width: {
|
||||
type: [Number, String],
|
||||
default: [Number, String],
|
||||
default: 600,
|
||||
validator (value) {
|
||||
if (typeof value === 'string') {
|
||||
return value.charAt(value.length-1) === '%' && !isNaN(parseFloat(value))
|
||||
|
||||
Reference in New Issue
Block a user