UNPKG

roomkit-web-vue3

Version:

<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,

25 lines (24 loc) 612 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const Vue = require("vue"); const overlayMap = Vue.ref({ [ "AISubtitlesOverlay" /* AISubtitlesOverlay */ ]: { visible: false }, [ "RoomInviteOverlay" /* RoomInviteOverlay */ ]: { visible: false } }); function useRoomOverlayHooks() { const getOverlayMap = () => overlayMap; const toggleOverlayVisibility = (overlay, isShow) => { overlayMap.value[overlay].visible = isShow; }; return { getOverlayMap, toggleOverlayVisibility }; } exports.useRoomOverlayHooks = useRoomOverlayHooks;