Edit this page

up.fragment up.fragment.isTargetable(element, options)
JavaScript function

Returns whether Unpoly can derive a target selector for the given element.


Parameters

element
required

The element to test.

options
required

Options for target derivation and verification.

See options for up.fragment.toTarget().


Return value

Whether a selector can be derived for the given element.

boolean