UNPKG

element-plus

Version:

A Component Library for Vue 3

16 lines (15 loc) 448 B
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); //#region ../../packages/components/select-v2/src/useOption.ts function useOption(props, { emit }) { return { hoverItem: () => { if (!props.disabled) emit("hover", props.index); }, selectOptionClick: () => { if (!props.disabled) emit("select", props.item, props.index); } }; } //#endregion exports.useOption = useOption; //# sourceMappingURL=useOption.js.map