Sign in Join
FPDoc Onlineexperiment

TDOMNode.GetPreviousNode function

Member of TDOMNodepublicIn unit Laz2_DOM

Gets the previous node in the DOM node hierarchy.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.