All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.utils.edit.isContentEditable.js Maven / Gradle / Ivy

The newest version!
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isContentEditable = isContentEditable;

//jsdom is not supporting isContentEditable
function isContentEditable(element) {
  return element.hasAttribute('contenteditable') && (element.getAttribute('contenteditable') == 'true' || element.getAttribute('contenteditable') == '');
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy