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

export default class CoEuiBlockContent extends Component {
    constructor(parent) {
      let selector = 'eui-block-content';
      super(parent, selector);
      //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/eui-block-content/eui-block-content.component.html
    }
    get wrapper() {
      return this.currentPath + '//div[contains(@class,"eui-block-content__wrapper")]';
    }
    async isBlocked() {
      return await elementAttributeContains(this.currentPath, 'class', 'eui-block-content--blocked');
    }
}


