add <afx-slider>

This commit is contained in:
Xuan Sang LE 2018-03-21 00:21:04 +01:00
parent 519209af0c
commit 1b4f117060

View File

@ -59,8 +59,6 @@
var maxw = $(self.refs.container).width();
left = left > maxw?maxw : left
self.value = left*self.max/maxw
//left = left - $(self.refs.point).width()/2
//$(self.refs.point).css("left",left + "px")
calibrate()
if(self.onchange) self.onchange(self.value)
})