@huluvu424242/honey-slideshow
Version:
Text to Speech component wich is reading texts from DOM elements.
24 lines (20 loc) • 770 B
JavaScript
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2883912.js';
import { g as getIonMode } from './ionic-global-c170bb31.js';
const selectOptionCss = ":host{display:none}";
const SelectOption = class {
constructor(hostRef) {
registerInstance(this, hostRef);
this.inputId = `ion-selopt-${selectOptionIds++}`;
/**
* If `true`, the user cannot interact with the select option.
*/
this.disabled = false;
}
render() {
return (h(Host, { role: "option", id: this.inputId, class: getIonMode(this) }));
}
get el() { return getElement(this); }
};
let selectOptionIds = 0;
SelectOption.style = selectOptionCss;
export { SelectOption as ion_select_option };