--- title: Angular 語法對應 ( with Vue || Java ) tags: Angular --- # Angular 語法 * *ngFor="let item of list; index as i" (index起始為0) ``` --- Java 版本 --- int i = 0; for (Object item : list) { ... i++; } ``` ``` --- VueJS 版本 --- v-for="(item, index) in list" ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up