mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 15:26:39 +00:00
refactor: rename
This commit is contained in:
parent
8b52e67b03
commit
8215d6e129
@ -29,7 +29,7 @@ import { isRef, onBeforeMount, onBeforeUnmount, onMounted, watch } from 'vue';
|
||||
* This is a Vue composition API utility function.
|
||||
* @param {EventTarget} target - The target to attach the event listener to.
|
||||
* @param {string} event - The name of the event to listen for.
|
||||
* @param {Function} callback - The callback function to execute when the event is triggered.
|
||||
* @param {Function} handler - The callback function to execute when the event is triggered.
|
||||
*/
|
||||
export function useEventListener(target, event, handler) {
|
||||
const addListener = (el) => {
|
||||
|
Loading…
Reference in New Issue
Block a user