WebViewState

@Stable()
class WebViewState(webContent: WebContent)

A state holder to hold the state for the WebView. In most cases this will be remembered using the rememberWebViewState(uri) function.

Constructors

WebViewState
Link copied to clipboard
fun WebViewState(webContent: WebContent)

Properties

content
Link copied to clipboard
var content: WebContent
The content being loaded by the WebView
errorsForCurrentRequest
Link copied to clipboard
val errorsForCurrentRequest: SnapshotStateList<WebViewError>
A list for errors captured in the last load.
isLoading
Link copied to clipboard
val isLoading: Boolean
Whether the webview is currently loading data in its main frame
loadingState
Link copied to clipboard
var loadingState: LoadingState
Whether the WebView is currently LoadingState.Loading data in its main frame (along with progress) or the data loading has LoadingState.Finished.
pageIcon
Link copied to clipboard
var pageIcon: Bitmap?
the favicon received from the loaded content of the current page
pageTitle
Link copied to clipboard
var pageTitle: String?
The title received from the loaded content of the current page