import EuiBasePage from '../eui-base.po.js';
import CoUxDynamicMessageBox from '../../../../components/10x/ux/ux-dynamic-message-box.js';
import CoUxButton from '../../../../components/10x/ux/ux-button.js';

export default class UxDynamicMessageBoxPage extends EuiBasePage {
  constructor() {
      super();
  }
  get buttonCo() {
    return new CoUxButton(this.dynamicMessageBoxByIndex(1).dynamicMBoxFooterHorizontalLeft);
  }
  dynamicMessageBoxByIndex(index) {
    return new CoUxDynamicMessageBox(this.root).byIndex(index);
  }
  dynamicMessageBoxById(id) {
    return new CoUxDynamicMessageBox(this.root).byId(id);
  }
  dynamicMessageBoxFromSectionById(id) {
    return new CoUxDynamicMessageBox(this.sectionById(id));
  }
}


