Documentation Center

Deprecated GUI API utilities

As of SDL Web 8, a number of utility methods and properties are deprecated, most of which are now built-in into all supported browsers. Note that the DOM utilities (Tridion.Utils.Dom) are intended to be used on HTML DOM nodes.

Deprecated method or propertyReplacement
Tridion.Utils.Dom.containsNodeNode.contains
Tridion.Utils.Dom.getPreviousElementSiblingElement.previousElementSibling
Tridion.Utils.Dom.getNextElementSiblingElement.nextElementSibling
Tridion.Utils.Dom.getFirstElementChildElement.firstElementChild
Tridion.Utils.Dom.getLastElementChildElement.lastElementChild
Tridion.Utils.Dom.getOuterHTMLElement.outerHTML
Tridion.Utils.Dom.setOuterHTMLElement.outerHTML
Tridion.Utils.Dom.getSrcElementEvent.target
Tridion.Utils.Dom.getParentWindowElement.ownerDocument.defaultView
Tridion.Utils.Dom.setTextAttributeNode.setAttribute
Tridion.Utils.Dom.removeTextAttributeNode.removeAttribute
Tridion.Utils.Css.hasClassElement.classList.contains
Tridion.Utils.Event.srcElementEvent.target