UNPKG

test-isc

Version:

An Ionic component similar to Ionic Select, that allows to search items, including async search, group, add, edit, delete items, and much more.

24 lines (20 loc) 755 B
import { r as registerInstance, h, H as Host, e as getElement } from './index-b6f64b02.js'; import { g as getIonMode } from './ionic-global-5d790111.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 };