import Component  from '../component.js'
import CoUxListItem from '../7x/ux-list-item.js';

export default class CoUxListItems extends Component {
    constructor(parent) {
      let selector = 'ux-list-items';
      super(parent, selector);
      //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/core/src/lib/commons/ux-components/ux-list-item/ux-list-items.component.ts?at=refs%2Fheads%2Fsupport%2F7.x
    }
    get listItemsTitle() {
      return this.currentPath + '//div[contains(@class, "ux-list-items-title")]';
    }
    get listItemsDataUl() {
      return this.currentPath + '//ul[@data-e2e="ux-list-items"]';
    }
    get listItemCo() {
      return new CoUxListItem(this.listItemsDataUl);
    }
}


