0
我想在我的離子應用程序中包含一個ui滑塊,但它不會顯示出來。我也嘗試使用離子範圍,但它不會顯示出來。我安裝了ui-slider,需要它並將其加載到我的index.html文件中。角離子應用程序 - ui滑塊不會顯示,也不會顯示離子範圍 - 如何使其可見?
<button class="btn btn-primary" ng-click="generate()" ng-show="!gen">
Generate Random Password</button>
<div ng-show="gen">
<h3>Length</h3><slider floor="8" ceiling="20" step="1" precision="1"
ng-model="leng" translate="currencyFormatting"></slider>
<h3>Symbols</h3><slider floor="0" ceiling="{{leng - nums}}" step="1"
precision="1" ng-model="syms" translate="currencyFormatting"></slider>
<h3>Numbers</h3><slider floor="0" ceiling="{{leng - syms}}" step="1"
precision="1" ng-model="nums" translate="currencyFormatting"></slider>
<button class="btn btn-success" ng-click="generatePassword(leng, syms, nums)"> Generate! </button>
</div>
非常感謝!它現在有效! – javascript2016