import Component  from '../component.js'
// import CoUxDisableContent from './ux-block-content.js'

export default class CoUxDisableContent extends Component {

    constructor(parent) {
      let selector = 'ux-disable-content';
      super(parent, selector);
    }

    get dataE2E() {
      let path = '//div[@data-e2e="ux-disable-content"]';
      return this.currentPath + path;
    }

    async isActive() {
      let cl = await (await $(this.dataE2E)).getAttribute('class');
      if (cl.includes('ux-is-active')) {
         return true;
      } else {
         return false;
      }
    }
}


