Angular 范围滑块的附加句柄值不显示值

Angular range slider's attach-handle-values does not show the values

当我从 Angular Range Slider plugin, the values do not show up as they do in the very last example from the demoattach-handle-values='true' 设置为我的 range-slider 时。我错过了什么?

直播:http://codepen.io/ianhd/pen/VvxPre

我应该看到这些:

如果您添加:

,它们就会出现
show-values="true"

文档不直观,但与删除它们的演示相反

您忘记包含 show-values 属性。

给你: http://codepen.io/anon/pen/qOYrBN

这让我疯狂调试,以为是adblocker,HTTPS限制,插件版本。但是终于,原因是AngularJS版本,你用的是1.3.14,而演示页面用的是1.2.15.

正如文档所说,showValues attr 的默认值是 true,所以你不需要它,但是如果你使用比这个插件实际使用的版本更新的版本,出于某种原因我还没有继续挖掘,您需要将其明确设置为 true,如 charlietfl 所述。