- Angular UI Development with PrimeNG
- Sudheer Jonna Oleg Varaksin
- 41字
- 2021-07-15 17:33:03
Using the slot character
As stated before, underscore (_) is the default active placeholder in a mask. But this can be customized using the slotChar attribute, as shown here:
<p-inputMask mask="99/99/9999" [(ngModel)]="slot" placeholder="99/99/9999"
slotChar="mm/dd/yyyy" name="slotchar"></p-inputMask>
The slotChar option can be either a single character or an expression.
推薦閱讀
- Clojure Programming Cookbook
- 基于Swift語言的iOS App 商業實戰教程
- Java:High-Performance Apps with Java 9
- Java實戰(第2版)
- Mastering Unity 2D Game Development(Second Edition)
- R用戶Python學習指南:數據科學方法
- Java Fundamentals
- 深入實踐Kotlin元編程
- Hack與HHVM權威指南
- Java Hibernate Cookbook
- C語言程序設計
- Building Microservices with Go
- C#網絡編程高級篇之網頁游戲輔助程序設計
- Java程序設計(項目教學版)
- Learning Android Application Development