Module Node.Impl

Parameters

Signature

let asNode: T.t => Dom.node;
let childNodes: T.t => Dom.nodeList;
let firstChild: T.t => option(Dom.node);
let innerText: T.t => string;
let setInnerText: T.t => string => unit;
let lastChild: T.t => option(Dom.node);
let nextSibling: T.t => option(Dom.node);
let nodeName: T.t => string;
let nodeType: T.t => int;
let nodeType: T.t => Webapi__Dom__Types.nodeType;
let nodeValue: T.t => option(string);
let setNodeValue: T.t => Js.null(string) => unit;
let ownerDocument: T.t => Dom.document;
let parentElement: T.t => option(Dom.element);
let parentNode: T.t => option(Dom.node);
let previousSibling: T.t => option(Dom.node);
let rootNode: T.t => Dom.node;
let textContent: T.t => string;
let setTextContent: T.t => string => unit;
let appendChild: Dom.node_like('a) => T.t => unit;
let cloneNode: T.t => T.t;
let cloneNodeDeep: T.t => T.t;
let compareDocumentPosition: Dom.node_like('a) => T.t => int;
let contains: Dom.node_like('a) => T.t => bool;
let getRootNode: T.t => Dom.node;
let getRootNodeComposed: T.t => Dom.node;
let hasChildNodes: T.t => bool;
let insertBefore: Dom.node_like('a) => Dom.node_like('b) => T.t => Dom.node_like('a);
let isDefaultNamespace: string => T.t => bool;
let isEqualNode: Dom.node_like('a) => T.t => bool;
let isSameNode: Dom.node_like('a) => T.t => bool;
let lookupNamespaceURI: string => T.t => option(string);
let lookupDefaultNamespaceURI: T.t => option(string);
let lookupPrefix: T.t => string;
let normalize: T.t => unit;
let removeChild: Dom.node_like('a) => T.t => Dom.node_like('a);
let replaceChild: Dom.node_like('a) => Dom.node_like('b) => T.t => Dom.node_like('b);
since
0.19.0