我想尝试使用Angular格式化输入中的货币。我试过这样做:
<input type="text" ng-disabled="controller.enableListPrice()" ng-model="controller.data.ListPrice" value="{{controller.data.ListPrice|currency}}"/>
However it allows me to type only one number with the currency format.
For instan
谁能告诉我如何获取文档对象角度。我尝试过使用ElementRef。它不起作用
let elements = this.elem.nativeElement.querySelectorAll('.classImLookingFor');
谁能建议如何在angular中获取组件中的querySelectorAll?
谢谢