[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMNode.GetPreviousNode

Gets the previous node in the DOM node hierarchy.

Declaration

Source position: laz2_dom.pas line 275

public function TDOMNode.GetPreviousNode: TDOMNode;

Function result

Previous node in the DOM node hierarchy.

Description

GetPreviousNode is a TDOMNode function used to get the previous node in the DOM node hierarchy.

The return value contains the last node (or leaf) in the node hierarchy for the PreviousSibling node as return from the GetLastLeaf method for the node. The return value is the ParentNode when PreviousSibling is unassigned.

GetPreviousNode is the converse of the GetNextNode method.

See also

TDOMNode.PreviousSibling

  

Previous DOM Node at the same level in the DOM tree.

TDOMNode.GetLastLeaf

  

Gets the last node in the DOM sub-tree for the current node.

TDOMNode.ParentNode

  

DOM node that is the immediate ancestor of this node.

TDOMNode.GetNextNode

  

Gets the next Child or Sibling node for the DOM node.


Version 3.2 Generated 2024-02-25 Home