Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

getElementRect.js 253B

1234567
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function getElementRect(html, elem) {
  4. const { x, y, width, height } = elem.getBoundingClientRect();
  5. return { x, y, width, height };
  6. }
  7. exports.default = getElementRect;