import Component  from '../component.js'

export default class MatOption extends Component {
    constructor(parent) {
      let selector = 'mat-option';
      super(parent, selector);
    }
    // https://github.com/angular/components/blob/ad248652e7da31398176fe11878b59805e440b5a/src/material/core/option/option.html
    get matCheckbox() {
        let path = '//mat-pseudo-checkbox[contains(@class, "mat-option-pseudo-checkbox")]';
        return this.currentPath + path;
    }
    get matOptionText() {
        let path = '//span[contains(@class,"mat-option-text")]';
        return this.currentPath + path;
    }
    get cdkVisuallyHidden() {
        let path = '//span[contains(@class,"cdk-visually-hidden")]';
        return this.currentPath + path;
    }
    get matOptionRipple() {
        let path = '//div[contains(@class,"mat-option-ripple")]';
        return this.currentPath + path;
    }
}
