You've already forked vue-clamp
Slight changes to validator method as per @Justineo's suggestions to preserve IE compatibility.
This commit is contained in:
@@ -20,8 +20,8 @@ export default {
|
||||
location: {
|
||||
type: String,
|
||||
default: 'end',
|
||||
validator: function (value) {
|
||||
return ['start', 'middle', 'end'].includes(value)
|
||||
validator (value) {
|
||||
return ['start', 'middle', 'end'].indexOf(value) !== -1
|
||||
}
|
||||
},
|
||||
expanded: Boolean
|
||||
|
||||
Reference in New Issue
Block a user