import { r as registerInstance, h } from './index-0a3acb15.js';

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

export { EclNewsTicker as ecl_news_ticker_item };

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