【问题标题】:limit the speed of range component in ionic 3限制离子3中范围组件的速度
【发布时间】:2018-11-26 17:47:35
【问题描述】:

我想知道是否有办法控制 ionic 3 中范围组件的速度。这意味着用户无法将滑块移动得太快或太慢,只能以特定的速度。

任何帮助将不胜感激。

【问题讨论】:

    标签: angular ionic-framework ionic3 angular-components


    【解决方案1】:

    在这里你可以看到 Range 组件的所有输入属性:https://ionicframework.com/docs/api/components/range/Range/#input-properties

    我不确定你的用例是什么,但你可以尝试使用

    • 去抖动
    • 步骤

    限制 Range 分量值变化的频率。

    【讨论】:

      猜你喜欢
      • 2018-05-09
      • 2018-03-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-22
      • 1970-01-01
      • 2018-01-16
      • 1970-01-01
      相关资源
      最近更新 更多