Created
June 18, 2022 12:53
-
-
Save nivrith/7951a91bdedc46136487f11943724b1c 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 *repeatTimes="length; index as i"> | |
{{ i }} This will render {{ length }} times | |
</div> | |
<!-- Or --> | |
<div *repeat="let index times length;"> | |
{{ index }} This will render {{ length }} times | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment