1234567891011121314151617 |
- function useOption(props, { emit }) {
- return {
- hoverItem: () => {
- if (!props.disabled) {
- emit("hover", props.index);
- }
- },
- selectOptionClick: () => {
- if (!props.disabled) {
- emit("select", props.item, props.index);
- }
- }
- };
- }
- export { useOption };
- //# sourceMappingURL=useOption.mjs.map
|