【发布时间】:2022-02-16 23:14:37
【问题描述】:
我想要什么:
<input class="form-control" type="number" spinner ng-model="$scope.someNumber"/>
<!-- notice the `spinner` directive -->
我有什么:
<input class="form-control" type="number" ng-model="$scope.someNumber"/>
是否有更好的数字微调器的指令?
我尝试在 Google 上搜索,但没有找到任何东西(spinner 也用于指代加载图像,所以我可能使用了错误的术语)。
【问题讨论】:
标签: angularjs input angular-directive