previousElementSibling property

Element? get previousElementSibling

The Element.previousElementSibling read-only property returns the Element immediately prior to the specified one in its parent's children list, or null if the specified element is the first one in the list.

Implementation

external Element? get previousElementSibling;