import Component from '../component.js'
import { elementAttributeContains } from '../../core/utils.js'

export default class CoEuiToolbarItems extends Component {
  constructor(parent) {
    let selector = 'eui-toolbar-items';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/layout/eui-toolbar/toolbar-items/toolbar-items.component.html
  }
  async hasPositionRight() {
    return await elementAttributeContains(this.currentPath, 'class', 'position-right');
  }
}


