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

export default class CoEuiButtonsLocalMenu extends Component {
    constructor(parent) {
      let selector = 'div[contains(@class, "eui-buttons__local-menu-content")]';
      super(parent, selector);
      //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components-next/src/lib/components/eui-buttons/eui-buttons.component.html
    }
    async isMobileOrTablet() {
      return await elementAttributeContains(this.currentPath, 'class', 'eui-buttons__local-menu-content--mobile');
    }
    get euiButtonsLocalMenuContentPlaceholder() {
      let path = '//euiButtonsLocalMenuContent';
      return this.currentPath + path;
    }
}


