export class EdelFormItemComponent {
    constructor() {
        this.half = false;
    }
    render() {
        return h("slot", null);
    }
    hostData() {
        return {
            class: 'data-form-item'
        };
    }
    componentDidLoad() {
        if (this.half)
            this.hostElement.classList.add('data-form-item--half');
        else
            this.hostElement.classList.remove('data-form-item--half');
    }
    static get is() { return "edel-data-form-item"; }
    static get properties() { return {
        "half": {
            "type": Boolean,
            "attr": "half",
            "watchCallbacks": ["componentDidLoad"]
        },
        "hostElement": {
            "elementRef": true
        }
    }; }
}
