UNPKG

clarity-angular

Version:

Angular components for Clarity

36 lines (35 loc) 1.19 kB
import { ElementRef, QueryList, Renderer2 } from "@angular/core"; import { Signpost } from "../../popover/signpost/signpost"; import { HideableColumnService } from "./providers/hideable-column.service"; export declare class DatagridCell { hideableColumnService: HideableColumnService; private _el; private _renderer; /********* * @property signpost * * @type {Signpost} * * @description * @ContentChild is used to detect the presence of a Signpost in the projected content. * On the host, we set the .datagrid-signpost-trigger class on the cell when signpost.length is greater than 0. * * @type {Querylist<Signpost>} */ signpost: QueryList<Signpost>; /** * @property id * * @description * An identifier for an instance of this cell that maps it to a specific column * * @type {string} */ private _id; id: string; private hiddenStateSubscription; constructor(hideableColumnService: HideableColumnService, _el: ElementRef, _renderer: Renderer2); private mapHideableColumn(columnId); private setHiddenClass(hideableColumnValue); ngOnDestroy(): void; }