WKNavigationAction

/*! @abstract The frame requesting the navigation.
 */
@property (nonatomic, readonly, copy) WKFrameInfo *sourceFrame;

/*! @abstract The target frame, or nil if this is a new window navigation.
 */
@property (nullable, nonatomic, readonly, copy) WKFrameInfo *targetFrame;

/*! @abstract The type of action that triggered the navigation.
 @discussion The value is one of the constants of the enumerated type WKNavigationType.
 */
@property (nonatomic, readonly) WKNavigationType navigationType;

/*! @abstract The navigation's request.
 */
@property (nonatomic, readonly, copy) NSURLRequest *request;
property (nonatomic, readonly) NSEventModifierFlags modifierFlags;

/*! @abstract The number of the mouse button causing the navigation to be requested.
 */
@property (nonatomic, readonly) NSInteger buttonNumber;

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 五四,我路过银杏 ——兼寄语文湿地公益巡讲 只有曾被落地的金黄震撼过 才会在来年的初夏为你驻足
    语文湿地阅读 2,532评论 0 2
  • 我觉得 我像你 可你像他 你觉得 你像我 我却像她 ...
    璿熙阅读 3,401评论 3 2
  • 我并不是科比的粉,甚至对于篮球这项运动一点也没兴趣。就像生活中从来没有出现过一样,可有可无。 可是就在昨天,无论是...
    闻漓阅读 4,628评论 0 1