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.

isFocused.js 636B

12345678910111213141516
  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. const constants_1 = require("../../constants");
  7. const utils_1 = require("../../utils");
  8. const isFocused_1 = __importDefault(require("../../scripts/isFocused"));
  9. async function isFocused() {
  10. const browser = await utils_1.getBrowserObject(this);
  11. return browser.execute(isFocused_1.default, {
  12. [constants_1.ELEMENT_KEY]: this.elementId,
  13. ELEMENT: this.elementId
  14. });
  15. }
  16. exports.default = isFocused;