element-plus
Version:
A Component Library for Vue 3
1 lines • 796 B
Source Map (JSON)
{"version":3,"file":"use-hovering.mjs","sources":["../../../../../../../packages/components/input-tag/src/composables/use-hovering.ts"],"sourcesContent":["import { ref } from 'vue'\n\nexport function useHovering() {\n const hovering = ref(false)\n\n const handleMouseEnter = () => {\n hovering.value = true\n }\n\n const handleMouseLeave = () => {\n hovering.value = false\n }\n\n return {\n hovering,\n handleMouseEnter,\n handleMouseLeave,\n }\n}\n"],"names":[],"mappings":";;AAEO,SAAS,WAAA,GAAc;AAC5B,EAAA,MAAM,QAAA,GAAW,IAAI,KAAK,CAAA;AAE1B,EAAA,MAAM,mBAAmB,MAAM;AAC7B,IAAA,QAAA,CAAS,KAAA,GAAQ,IAAA;AAAA,EACnB,CAAA;AAEA,EAAA,MAAM,mBAAmB,MAAM;AAC7B,IAAA,QAAA,CAAS,KAAA,GAAQ,KAAA;AAAA,EACnB,CAAA;AAEA,EAAA,OAAO;AAAA,IACL,QAAA;AAAA,IACA,gBAAA;AAAA,IACA;AAAA,GACF;AACF;;;;"}