Module: ojpopuputils

Oracle® JavaScript Extension Toolkit (JET)
18.1.0

G25382-01

QuickNav

JET Modules

See JET Module Loading for an overview of module usage within JET.

Description

This module contains a utility function isLogicalAncestor() that allows to link reparented popup content to its logical ancestor.

Functions

isLogicalAncestor(ancestorNode, node) : {boolean}

Utility function that checks if two DOM nodes are directly or logically connected
Parameters:
Name Type Description
ancestorNode Node the assumed ancestor node
node Node child node
Returns:

true if the two DOM nodes are directly or logically connected, false otherwise.

Type
boolean