Last active
December 8, 2021 06:36
-
-
Save faisalahmedador/74074fe08f1e2577fe95ec4b791d0c7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group"> | |
<input id="password" capsLockDetect (capsLockOn)="capsLock = $event" type="password"> | |
<small class="form-text text-muted">Password</small > | |
<strong class="capslock-warning" title="Caps-lock is ON!" *ngIf="capsLock === 1"> | |
Caps-lock is ON! | |
</strong> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment