Sha256: d7deb9a2e31e3797e9edd7a4e777464c8a05017e09e0717e667323b00704f503

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

"use strict";

const HTMLElementImpl = require("./HTMLElement-impl").implementation;
const reflectURLAttribute = require("../../utils").reflectURLAttribute;
const closest = require("../helpers/traversal").closest;

class HTMLObjectElementImpl extends HTMLElementImpl {
  get form() {
    return closest(this, "form");
  }

  get contentDocument() {
    return null;
  }

  get data() {
    return reflectURLAttribute(this, "data");
  }

  set data(V) {
    this.setAttribute("data", V);
  }

  get codeBase() {
    return reflectURLAttribute(this, "codebase");
  }

  set codeBase(V) {
    this.setAttribute("codebase", V);
  }
}

module.exports = {
  implementation: HTMLObjectElementImpl
};

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js
lanes-0.8.0 node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js
select_all-rails-0.3.1 node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js