1

我这样定义:

  $(".js-range-slider").ionRangeSlider({
                            type: "single",
                            min: 1,
                            max: 40,
                            grid: true,
                             onChange: function (data) {
                              console.log("--------------------- " + data.from);
                               }
                          });

使用 ion.rangeslider 我需要在值选择区域中显示该值乘以另一个值。例如,我需要将所选值乘以 * 5。i need to update this when the selected value changes

http://prntscr.com/qav6rd

在示例中,我需要显示“6 人 5 欧元:30 欧元”

4

0 回答 0