WebPageInstantView
public struct WebPageInstantView : Codable, Equatable, FunctionResult
Describes an instant view page for a web page
-
Content of the web page
Declaration
Swift
public let pageBlocks: [PageBlock] -
Version of the instant view, currently can be 1 or 2
Declaration
Swift
public let version: Int32 -
Instant view URL; may be different from WebPage.url and must be used for the correct anchors handling
Declaration
Swift
public let url: String -
True, if the instant view must be shown from right to left
Declaration
Swift
public let isRtl: Bool -
True, if the instant view contains the full page. A network request might be needed to get the full web page instant view
Declaration
Swift
public let isFull: Bool -
Describes an instant view page for a web page
Declaration
Swift
public init(pageBlocks: [PageBlock], version: Int32, url: String, isRtl: Bool, isFull: Bool)Parameters
pageBlocksContent of the web page
versionVersion of the instant view, currently can be 1 or 2
urlInstant view URL; may be different from WebPage.url and must be used for the correct anchors handling
isRtlTrue, if the instant view must be shown from right to left
isFullTrue, if the instant view contains the full page. A network request might be needed to get the full web page instant view
View on GitHub
Install in Dash
WebPageInstantView Structure Reference