This feature has been deprecated. Use up.fragment.get()
instead.
Load unpoly-migrate.js
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.
Returns 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 document
.
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,
or undefined
if no such element was found.