d2b96c7833
This currently breaks the rendering and will need more work. Also need to add labels for {a,b} syntax
22 lines
403 B
JavaScript
22 lines
403 B
JavaScript
export default {
|
|
minimum() {
|
|
if (this._min) {
|
|
return Number(this._min.textValue);
|
|
} else if (this._exact) {
|
|
return Number(this._exact.textValue);
|
|
} else {
|
|
return 0;
|
|
}
|
|
},
|
|
|
|
maximum() {
|
|
if (this._max) {
|
|
return Number(this._max.textValue);
|
|
} else if (this._exact) {
|
|
return Number(this._exact.textValue);
|
|
} else {
|
|
return -1;
|
|
}
|
|
}
|
|
};
|