【发布时间】:2013-10-22 11:20:17
【问题描述】:
我在我的应用程序中使用以下指令
https://github.com/prajwalkman/angular-slider
当我尝试在屏幕上拖动滑块时,除了触控支持之外,一切正常。 Touch 适用于给出的示例,但不适用于我的应用程序。我已经检查过我使用的是相同版本的 angular 等。
我的代码: filter.js(控制器)
$scope.lower_price_bound = 50;
$scope.upper_price_bound = 3000;
html
<slider floor="10" ceiling="3000" ng-model-low="lower_price_bound" ng-model-high="upper_price_bound"></slider>
是否需要添加任何内容才能获得对移动设备的触控支持?
谢谢!
【问题讨论】:
标签: javascript angularjs touch angularjs-directive uislider