File

projects/angular/components/ui-grid/src/body/ui-grid-row-card-view.directive.ts

Index

Properties

Properties

data
data: T
Type : T
index
index: number
Type : number
last
last: boolean
Type : boolean
import {
    ContentChild,
 Directive, TemplateRef,
} from '@angular/core';

export interface IGridRowCardViewContext<T> {
    index: number;
    last: boolean;
    data: T;
}

@Directive({ selector: '[uiGridRowCardView], ui-grid-row-card-view' })
export class UiGridRowCardViewDirective<T> {
    @ContentChild(TemplateRef, {
        static: true,
    })
    html?: TemplateRef<IGridRowCardViewContext<T>>;
}

results matching ""

    No results matching ""