All files / src/components/gridstack-wrapper si-gridstack-wrapper.component.html

66.66% Statements 8/12
50% Branches 1/2
0% Functions 0/2
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1625x 93x 93x 17x 57x         17x         25x  
<div class="grid-stack">
  @if (grid) {
    @for (item of widgetConfigs(); track item.id) {
      <si-widget-host
        [grid]="grid"
        [attr.item-id]="item.id"
        [editable]="editable()"
        [widgetConfig]="item"
        [componentFactory]="widgetCatalogMap().get(item.widgetId)?.componentFactory"
        (remove)="widgetInstanceRemove.emit(item.id)"
        (edit)="widgetInstanceEdit.emit(item)"
      />
    }
  }
</div>