This feature has been deprecated. Use
to enable deprecated features.
Returns the first element matching the given selector, but ignores elements that are being destroyed or that are being removed by a transition.
undefined if no element matches these conditions.
The root element for the search. Only the root's children will be matched.
May be omitted to search through all elements in the
The selector to match
The the layer in which to find the element.
See Layer option.
An second element or selector that can be referenced as
:origin in the first selector:
The first element that is neither a ghost or being destroyed,
undefined if no such element was found.