getParent

abstract var getParent: (element: T) -> ProviderResult<T>?(source)

Optional method to return the parent of element. Return null or undefined if element is a child of root.

NOTE: This method should be implemented in order to access reveal API.

Parameters

element

The element for which the parent has to be returned.