happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
28 lines • 687 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
/**
* MutationRecord is a model for a mutation.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord
*/
class MutationRecord {
type = null;
target = null;
addedNodes = [];
removedNodes = [];
previousSibling = null;
nextSibling = null;
attributeName = null;
attributeNamespace = null;
oldValue = null;
/**
* Constructor.
*
* @param init Options to initialize the mutation record.
*/
constructor(init) {
Object.assign(this, init);
}
}
exports.default = MutationRecord;
//# sourceMappingURL=MutationRecord.cjs.map
;