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

export default class CoEuiButtonsActionsButtons extends Component {
  constructor(parent) {
    let selector = 'div[contains(@class, "eui-buttons__actions-content")]';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/eui-buttons/eui-buttons.component.html?at=support%2F13.x
  }
  async isMobileOrTablet() {
    return await elementAttributeContains(this.currentPath, 'class', 'eui-buttons__actions-content--mobile');
  }
  get euiButtonsActionsContentPlaceholder() {
    let path = '//euiButtonsActionsContent';
    return this.currentPath + path;
  }
}


