export class EdelLoadingSpinner {
    constructor() {
        this.withMargin = false;
    }
    render() {
        if (this.withMargin) {
            return (h("div", { class: "loading-container" },
                h("div", { class: "loading loading--spaced loading--bounce" },
                    h("div", { class: "loading-indicator loading-indicator-1" }),
                    h("div", { class: "loading-indicator loading-indicator-2" }))));
        }
        return (h("div", { class: "loading loading--bounce" },
            h("div", { class: "loading-indicator loading-indicator-1" }),
            h("div", { class: "loading-indicator loading-indicator-2" })));
    }
    static get is() { return "edel-loading-spinner"; }
    static get properties() { return {
        "withMargin": {
            "type": Boolean,
            "attr": "with-margin"
        }
    }; }
}
