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.

getProperty.js 635B

123456789101112131415
  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 utils_1 = require("../../utils");
  7. const getProperty_1 = __importDefault(require("../../scripts/getProperty"));
  8. function getProperty(property) {
  9. if (this.isW3C) {
  10. return this.getElementProperty(this.elementId, property);
  11. }
  12. const browser = utils_1.getBrowserObject(this);
  13. return browser.execute(getProperty_1.default, { ELEMENT: this.elementId }, property);
  14. }
  15. exports.default = getProperty;