mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 05:58:22 +01:00
add <afx-slider>
This commit is contained in:
parent
519209af0c
commit
1b4f117060
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user