Angular是否内联* ngIf条件语句?

问题描述 投票:0回答:1

Angular是否会内联* ngIf条件语句?如果我有例如:

<form [formGroup]="form" *ngIf="inputModels.length < 200">

每次更改检测运行时是否重新计算“ inputModels.length <200”,还是存储到inputModel更改之前?

angular
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.