import Component from '../component.js';
import CoEuiIconSvg from './eui-icon-svg.js';

export default class CoEuiIconToggle extends Component {
  constructor(parent) {
    let selector = 'eui-icon-toggle';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/eui-icon-toggle/eui-icon-toggle.component.html?at=master
  }
  get iconSvgCO() {
    return new CoEuiIconSvg(this.currentPath);
  }
  get statusOnCO(){
    return this.iconSvgCO.addPredicateClassContains('eui-icon-toggle--default-on');
  }
  get statusOffCO(){
    return this.iconSvgCO.addPredicateClassContains('eui-icon-toggle--default-off');
  }
}


