Skip to main content
cngx-src documentation

CngxSkeletonRowTplContext

Interface

projects/data-display/treetable/models.ts

Import#

import { CngxSkeletonRowTplContext } from '@cngx/data-display/treetable'

Description#

Template context type for CngxSkeletonRowTpl.

<ng-template cngxSkeletonRow let-index let-rowCount="rowCount">
  <div class="my-shimmer-row">{{ index + 1 }} / {{ rowCount }}</div>
</ng-template>

Index#

Instance Properties#

$implicit#number

Zero-based index of the placeholder row - available as the implicit let variable.

rowCount#number

Total number of placeholder rows (skeletonRowCount) - available as let-rowCount="rowCount".