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

14 lines
266 B
JavaScript
Raw Normal View History

const getInteractionsButtonCoordinates = () => {
2023-09-19 06:02:21 +08:00
const el = document.getElementById('interactionsButton');
if (!el) return null;
const coordinate = el.getBoundingClientRect();
return coordinate;
2023-09-19 06:02:21 +08:00
};
export default {
getInteractionsButtonCoordinates,
2023-09-19 06:02:21 +08:00
};