UNPKG

@ngx-uk-frontend/core

Version:

Core utilities and shared functionality for ngx-uk-frontend libraries

20 lines 1.31 kB
import { Directive, input } from '@angular/core'; import * as i0 from "@angular/core"; /** * Base directive that provides common table functionality * for both GovUK and GovScot design systems. */ export class TableDirective { /** Optional caption for the table to describe its contents. */ caption = input(...(ngDevMode ? [undefined, { debugName: "caption" }] : [])); static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.6", type: TableDirective, isStandalone: true, selector: "[libTable]", inputs: { caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TableDirective, decorators: [{ type: Directive, args: [{ selector: '[libTable]', standalone: true, }] }], propDecorators: { caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }] } }); //# sourceMappingURL=table.directive.js.map