NavigateEvent
Generated.swift:12222class NavigateEvent
class NavigateEvent
import DOM
class Event
protocol Any_Event_or_String : ConvertibleToJSValue
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
convenience init(type: String, eventInitDict: NavigateEventInit)
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
@ReadonlyAttribute var canIntercept: Bool { get }
@ReadonlyAttribute var destination: NavigationDestination { get }
@ReadonlyAttribute var downloadRequest: String? { get }
@ReadonlyAttribute var formData: FormData? { get }
@ReadonlyAttribute var hashChange: Bool { get }
@ReadonlyAttribute var info: JSValue { get }
@ReadonlyAttribute var navigationType: NavigationType { get }
@ReadonlyAttribute var signal: AbortSignal { get }
@ReadonlyAttribute var userInitiated: Bool { get }
func intercept(options: NavigationInterceptOptions? = nil)
func scroll()