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-next/src/lib/layout/eui-toolbar/toolbar-items/toolbar-items.component.ts
  }
  async hasPositionRight() {
    return await elementAttributeContains(this.currentPath, 'class', 'position-right');
  }
}


