Cleanup and add doc

pull/744/head
Cagatay Civici 2020-12-04 17:47:33 +03:00
parent 3783b9ce41
commit a172e165fc
2 changed files with 6 additions and 8 deletions

View File

@ -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}`;
}, },

View File

@ -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>