import Component from '../component.js'
import CoEuiDropdownButtonMenuItem from './eui-dropdown-button-menu-item.js'
import MatMenu from '../material/15.x/mat-menu.js'

export default class CoEuiDropdownButtonChildMenu extends Component {
  overlayContainer;
    constructor(parent) {
      let selector = 'eui-dropdown-button-child-menu';
      super(parent, selector);
      //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/eui-dropdown-button-menu/eui-dropdown-button-child-menu.component.html?at=master
    }
    get matMenuCO() {
      return new MatMenu(this.currentPath);
    }
    get menuItemsCO() {
      return new CoEuiDropdownButtonMenuItem(this.matMenuCO);
    }
}