0
我點擊時必須爲標籤元素應用顏色,而Angular Bootstrap滑塊的默認值爲。如何在Bootstrap滑塊上應用標籤顏色?
HTML:
<slider step="step" ticks="ticks" ticks-labels="labels" value="radius" ng-model="radius" on-slide="slide(sradius);" on-stop-slide="slide(radius);"></slider>
JS:
$scope.ticks = [1,2,3,4,5];
$scope.labels = [1,2,3,4,5];
$scope.step = "1"
$scope.sradius=3;
你爲什麼不寫上滑塊改變的功能,並指定顏色代碼在函數標貼? – anu
@slacker值如何在頁面加載時添加顏色 – anub