import Component from '../component.js'
import DivComponent from '../div.js';
import CoEuiButton from './eui-button.js';
import CoEuiIconSvg from './eui-icon-svg.js';

export default class CoEuiSidebarToggle extends Component {
  constructor(parent) {
    let selector = 'eui-sidebar-toggle';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/layout/eui-sidebar-toggle/sidebar-toggle.component.html?at=master
  }
  get euiButtonCO() {
    return new CoEuiButton(this.currentPath).byClassContains('eui-sidebar-toggle__icon-container');
  }
  get innerContainerCO() {
    return new DivComponent(this.euiButtonCO).byClassContains('eui-sidebar-toggle__icon-container__inner');
  }
  get euiIconCO() {
    return new CoEuiIconSvg(this.innerContainerCO);
  }
  get euiIconHamburgerCO(){
    return this.euiIconCO;
  }
}

