Cleanup and add doc
parent
3783b9ce41
commit
a172e165fc
|
@ -156,14 +156,6 @@ export default {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
style () {
|
|
||||||
return {
|
|
||||||
height: this.responsive ? this.size + '%' : this.size - 5 + 'px'
|
|
||||||
};
|
|
||||||
},
|
|
||||||
computedSize() {
|
|
||||||
return this.responsive ? this.size + '%' : this.size;
|
|
||||||
},
|
|
||||||
rangePath() {
|
rangePath() {
|
||||||
return `M ${this.minX} ${this.minY} A ${this.radius} ${this.radius} 0 1 1 ${this.maxX} ${this.maxY}`;
|
return `M ${this.minX} ${this.minY} A ${this.radius} ${this.radius} 0 1 1 ${this.maxX} ${this.maxY}`;
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,6 +77,12 @@ data() {
|
||||||
<td>number</td>
|
<td>number</td>
|
||||||
<td>null</td>
|
<td>null</td>
|
||||||
<td>Value of the component.</td>
|
<td>Value of the component.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>size</td>
|
||||||
|
<td>number</td>
|
||||||
|
<td>100</td>
|
||||||
|
<td>Size of the component in pixels.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>disabled</td>
|
<td>disabled</td>
|
||||||
|
|
Loading…
Reference in New Issue