Adds EE validators to CE file

This commit is contained in:
Sarah Groff Hennigh-Palermo 2019-03-29 09:00:16 +00:00 committed by Filipa Lacerda
parent 9b81276328
commit 9bb41e894e
1 changed files with 6 additions and 0 deletions

View File

@ -4,10 +4,16 @@ export default {
colors: {
type: Array,
required: true,
validator(value) {
return value.length === 2;
},
},
opacity: {
type: Array,
required: true,
validator(value) {
return value.length === 2;
},
},
identifierName: {
type: String,