UNPKG

@utrecht/web-component-library-stencil

Version:

Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture

44 lines (43 loc) 1.38 kB
import { h, Host } from "@stencil/core"; export class TableHeaderCell { constructor() { this.scope = undefined; } render() { return (h(Host, { key: '1625c9dda888bb2d13bd61a4f8c435b3d7272cca', role: this.scope === 'col' ? 'columnheader' : this.scope === 'row' ? 'rowheader' : 'cell' }, h("slot", { key: '7a762a39e4d7b66407a39fee8c7e861dbeac48e0' }))); } static get is() { return "utrecht-table-header-cell"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["table-header-cell.scss"] }; } static get styleUrls() { return { "$": ["table-header-cell.css"] }; } static get properties() { return { "scope": { "type": "string", "mutable": false, "complexType": { "original": "'col' | 'row'", "resolved": "\"col\" | \"row\"", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "scope", "reflect": false } }; } } //# sourceMappingURL=table-header-cell.js.map