Contents

sourceFrame

Declaration

@NSCopying var sourceFrame: WKFrameInfo { get }

Discussion

The frame from which the WKJSHandle originates and where it can be used.

If the WKJSHandle is used as an argument to JavaScript in another frame or after the indicated frame has navigated, it will be interpreted as the JavaScript value undefined.