import Component  from '../component.js'
import CoEuiBreadcrumbItem from './eui-breadcrumb-item.js'

export default class CoEuiBreadcrumb extends Component {
  constructor(parent) {
    let selector = 'eui-breadcrumb';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/layout/eui-breadcrumb/breadcrumb.component.html?at=refs%2Fheads%2Fsupport%2F13.x
  }
  get orderList() {
    let path = '//ol[contains(@class,"eui-breadcrumb-items")]';
    return this.currentPath + path;
  }
  get euiBreadcrumbItemCO() {
    return new CoEuiBreadcrumbItem(this.orderList);
  }
}


