AjaxOptions { InsertionMode = InsertionMode.Replace, UpdateTargetId = "ReportConfiguration" })我尝试添加new {@class="active"} to the end of each of `,但它显示它们都是活动的。
在选择active-span时,尝试将size添加到元素中,这很简单,在jQuery中这样做是很简单的,但在以角度进行时,我有点困惑。我尝试使用ngClass,但它没有将类添加到div元素中。when size is selected模板html --
<div *ngFor="let s of size" class="size" [ngCl