Refactor handlestyle method on Slider

pull/12/head
mertsincan 2019-05-03 11:55:56 +03:00
parent f2d3fb491c
commit a9349aa4ba
1 changed files with 2 additions and 1 deletions

View File

@ -278,8 +278,9 @@ export default {
handleStyle() {
if (this.horizontal)
return {'left': this.handlePosition + '%'};
else if (this.vertical)
else
return {'bottom': this.handlePosition + '%'};
},
handlePosition() {
if (this.value === 0)