NavigationAction

class NavigationAction(pointer: <Error class: unknown class><<Error class: unknown class>>)

Provides details about interaction resulting in a resource load.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val webkitNavigationActionPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Make a copy of @navigation.

Link copied to clipboard
fun free()

Free the #WebKitNavigationAction

Link copied to clipboard

Gets the @navigation target frame name. For example if navigation was triggered by clicking a link with a target attribute equal to "_blank", this will return the value of that attribute. In all other cases this function will return null.

Link copied to clipboard
fun getModifiers(): <Error class: unknown class>

Return the modifier keys.

Link copied to clipboard
fun getMouseButton(): <Error class: unknown class>

Return the number of the mouse button that triggered the navigation.

Link copied to clipboard

Return the type of action that triggered the navigation.

Link copied to clipboard

Return the #WebKitURIRequest associated with the navigation action.

Link copied to clipboard

Returns whether the @navigation was redirected.

Link copied to clipboard

Return whether the navigation was triggered by a user gesture like a mouse click.