Platforms to show: All Mac Windows Linux Cross-Platform

Back to WKNavigationActionMBS class.

WKNavigationActionMBS.buttonNumber as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The number of the mouse button causing the navigation to be requested.

(Read only property)

WKNavigationActionMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The internal object reference.

(Read only property)

WKNavigationActionMBS.modifierFlags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The modifier keys that were in effect when the navigation was requested.

(Read only property)

WKNavigationActionMBS.navigationType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The type of action that triggered the navigation.

See constants.
(Read only property)

Some examples using this property:

WKNavigationActionMBS.newWindow as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Whether this targets a new window.

(Read only property)

WKNavigationActionMBS.request as NSURLRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The navigation's request.

(Read only property)

WKNavigationActionMBS.shouldPerformDownload as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A value indicating whether the web content used a download attribute to indicate that this should be downloaded.

Requires macOS 11.3 or iOS 14.5.

This is only true if WebKit saw a download attribut ein the html link.
(Read only property)

Some examples using this property:

WKNavigationActionMBS.sourceFrame as WKFrameInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The frame requesting the navigation.

(Read only property)

WKNavigationActionMBS.targetFrame as WKFrameInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property WebKit2 MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The target frame, or nil if this is a new window navigation.

(Read only property)

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...