We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I saw several kinds of codes online, they are all working well, but I am not sure which style is recommended.
These are three of them:
*ngFor="#alert of alerts #i = index #l = last" *ngFor="#alert of alerts; #i = index, #l = last" *ngFor="#alert of alerts; #i = index; #l = last"
Maybe add one style guide for this? Thanks
The text was updated successfully, but these errors were encountered:
I'm mostly for *ngFor="var alert of alerts; var i = index; var l = last.
*ngFor="var alert of alerts; var i = index; var l = last
Any other opinions?
Sorry, something went wrong.
I prefer
*ngFor="#alert of alerts;#i = index;#l = last;"
I think they are all fine, just pick one for the entire style-guide and point to the template syntax doc ?
No branches or pull requests
I saw several kinds of codes online, they are all working well, but I am not sure which style is recommended.
These are three of them:
Maybe add one style guide for this? Thanks
The text was updated successfully, but these errors were encountered: