@huluvu424242/honey-slideshow
Version:
Text to Speech component wich is reading texts from DOM elements.
26 lines (25 loc) • 1 kB
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';
var selectOptionCss = ":host{display:none}";
var SelectOption = /** @class */ (function () {
function SelectOption(hostRef) {
registerInstance(this, hostRef);
this.inputId = "ion-selopt-" + selectOptionIds++;
/**
* If `true`, the user cannot interact with the select option.
*/
this.disabled = false;
}
SelectOption.prototype.render = function () {
return (h(Host, { role: "option", id: this.inputId, class: getIonMode(this) }));
};
Object.defineProperty(SelectOption.prototype, "el", {
get: function () { return getElement(this); },
enumerable: false,
configurable: true
});
return SelectOption;
}());
var selectOptionIds = 0;
SelectOption.style = selectOptionCss;
export { SelectOption as ion_select_option };