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.

isElementEnabled.js 512B

1234567891011
  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 getElementAttribute_1 = __importDefault(require("./getElementAttribute"));
  7. async function isElementEnabled({ elementId }) {
  8. const result = await getElementAttribute_1.default.call(this, { elementId, name: 'disabled' });
  9. return result === null;
  10. }
  11. exports.default = isElementEnabled;