import Component from '../../component.js'
import LinkComponent from '../../link.js'

export default class CoUxLayoutBreadcrumbsItem extends Component {
    constructor(parent) {
      let selector = 'span[contains(@class,"ux-layout-breadcrumbs__item")]';
      super(parent, selector);
       //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/src/lib/ux-components/layout/ux-layout-breadcrumbs/ux-layout-breadcrumbs.component.html
    }
    get breadcrumbItemLinkCo() {
      return new LinkComponent(this)
    }
    get breadcrumbItemLabel() {
      let path = '//span';
      return this.currentPath + path;
    }
}


