@anglr/grid
Version:
Angular module displaying grid
28 lines • 1.47 kB
JavaScript
import { Directive, TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Directive that is used for obtaining template for table grid body cell
*/
export class TableGridBodyCellTemplateDirective {
//######################### constructor #########################
constructor(template) {
this.template = template;
}
//######################### ng language server #########################
/**
* Allows typechecking for template
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
static ngTemplateContextGuard(_dir, _ctx) {
return true;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: TableGridBodyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0", type: TableGridBodyCellTemplateDirective, isStandalone: true, selector: "[bodyCellTemplate]", ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: TableGridBodyCellTemplateDirective, decorators: [{
type: Directive,
args: [{
selector: '[bodyCellTemplate]',
}]
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
//# sourceMappingURL=tableGridBodyCellTemplate.directive.js.map