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