Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用RangeSlider, 并希望将工具提示定位在滑块下方,而不是上方。
RangeSlider
$('#tollerance_slider').kendoRangeSlider({ min: 0, max: 300, tooltip: { position: "bottom" } });
那行不通...
提前致谢。
它看起来不像你可以给它一个设置,因为它内部不使用普通的 Kendo Tooltip 小部件(滑块可能是在 Tooltip 之前编写的旧小部件)。
但是,您可以使用 CSS 来实现:
.k-widget.k-tooltip.k-slider-tooltip { margin-top: 60px; }