Created
June 2, 2024 09:00
-
-
Save GuillaumeDaviid/7b3a7fc009988887c1be7c5aa18bb4ee to your computer and use it in GitHub Desktop.
angular: : update signal
This file contains hidden or 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
| decrement(): void { | |
| this.mySignal.update(signal => signal ? signal - 1 : 0); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment