PrefetchFrameOptions
Summary
Frame request options forwarded through prefetch handlers and defaultPrefetch.
Signature
interface PrefetchFrameOptions {
element?: Element
signal?: AbortSignal
target?: string
}
Properties
element
Triggering element for this caller; automatic triggers and anchor calls supply their link.
signal
Cancels only this caller's prefetch; the shared fetch signal may remain active.
target
Name of the destination frame, sent as X-Remix-Target by the default strategy.