0
當我使用j個查詢更改角2滑塊的值,它不觸發幻燈片功能,並且還改變功能..範圍滑塊不工作
jQuery(this.elementRef.nativeElement).find("#slider").slider({
range: true,
orientation: "horizontal",
min: 0,
max: 100,
step: 1,
value: [80, 100],
slide: (event, ui) => {
alert("hai");
},
change: (event, ui) => {
alert("hai");
},
});
}
如何傳遞兩個值從on更改爲sliderValue? – Arron
'ngModel'可以引用一個數組;-) –