export class EdelConfiggridItemComponent {
    constructor() {
        this.isHead = false;
    }
    render() {
        return h("slot", null);
    }
    hostData() {
        return {
            class: 'configgrid-item'
        };
    }
    componentDidLoad() {
        this.updateIsHead();
    }
    updateIsHead() {
        this.isHead
            ? this.hostElement.classList.add('configgrid-item--head')
            : this.hostElement.classList.remove('configgrid-item--head');
    }
    static get is() { return "edel-configgrid-item"; }
    static get properties() { return {
        "hostElement": {
            "elementRef": true
        },
        "isHead": {
            "type": Boolean,
            "attr": "is-head",
            "watchCallbacks": ["updateIsHead"]
        }
    }; }
}
