Mint.Software.Blazor.PhoneJS.Pack 1.0.1

# Mint.Software.Blazor.PhoneJS How to use? 1. In _Host.cshtml <!-- Quill library --> <script src="_content/Mint.Software.Blazor.PhoneJS.Pack/js/IMask.js"></script> <script src="_content/Mint.Software.Blazor.PhoneJS.Pack/js/main.js"></script> 2. In page ` @using Mint.Software.Blazor.PhoneJS ` InputPhoneMask @bind-CurrentMaskValue="phone2" Mask="+{48} 000 000-00-00"/> <div class="admin-login-keys-container"> @for (int i = 1; i < 11; i++) { <div class="keyboard-button admin-login-key-width"> @{int key = i % 10; } <div class="keyboard-key" @onclick="()=> { OnKeyClick(key.ToString()); }"> @key </div> </div> } </div> @code{ private string phone2; protected void ClearLastCharacter() { if (!string.IsNullOrEmpty(phone2)) { phone2 = phone2.Remove(phone2.Length - 1); } } protected void OnKeyClick(string key) { phone2 += key; } }

No packages depend on Mint.Software.Blazor.PhoneJS.Pack.

Version Downloads Last updated
1.0.1 43 11/03/2020
1.0.0 1 11/03/2020