'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-420e0ca1.js');

const EclNewsTickerItem = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.theme = 'ec';
        this.styleClass = undefined;
        this.path = undefined;
    }
    getClass() {
        return [
            `ecl-news-ticker__slide`,
            this.styleClass
        ].join(' ');
    }
    render() {
        return (index.h("li", { class: this.getClass() }, this.path ?
            index.h("ecl-link", { theme: this.theme, path: this.path, styleClass: `ecl-news-ticker__slide-text sc-ecl-news-ticker-${this.theme}` }, index.h("slot", null)) : index.h("slot", null)));
    }
};

exports.ecl_news_ticker_item = EclNewsTickerItem;

//# sourceMappingURL=ecl-news-ticker-item.cjs.entry.js.map