'use strict';

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

const index = require('./index-6377956f.js');

const EclNewsTicker = 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", { path: this.path, styleClass: "ecl-news-ticker__slide-text" }, index.h("slot", null)) : index.h("slot", null)));
  }
};

exports.ecl_news_ticker_item = EclNewsTicker;

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