How to upgrade CDK Virtual for loop for angular 17

  Kiến thức lập trình

Im upgrading code to angular 17 and needing to update if statements and for loops as i go. I have noticed that if statements and for loops are easy enough but im struggling to move the cdkVirtualFor out into @ annotation.

              <tbody>
                <tr
                  class=border-top border-gray-400 virtual-scroll-row scrollable"
                  definition-row
                  *cdkVirtualFor="let entry of entries; index as i; trackBy: track"
                  [entry]="entry"
                  [twid]="'row-' + i"
                ></tr>

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT