bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/emoji-rain/service.js

14 lines
266 B
JavaScript
Raw Normal View History

const getInteractionsButtonCoordinates = () => {
2023-11-14 22:03:05 +08:00
const el = document.getElementById('interactionsButton');
if (!el) return null;
const coordinate = el.getBoundingClientRect();
return coordinate;
};
export default {
getInteractionsButtonCoordinates,
2023-11-14 22:03:05 +08:00
};