Rachel
Toggle table of contents
3.5.0
android
common
desktop
ios
web
Target filter
android
common
desktop
ios
web
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.components.webview
/
love.yinlin.compose.ui
/
WebViewState
Web
View
State
android
common
desktop
ios
web
@
Stable
actual
class
WebViewState
(
initUrl
:
String
)
:
PlatformView
<
WebView
>
,
Releasable
<
WebView
>
@
Stable
expect
class
WebViewState
(
initUrl
:
String
=
""
)
@
Stable
actual
class
WebViewState
(
initUrl
:
String
)
@
Stable
actual
class
WebViewState
(
initUrl
:
String
)
:
PlatformView
<
WKWebView
>
@
Stable
actual
class
WebViewState
(
initUrl
:
String
)
:
PlatformView
<
HTMLIFrameElement
>
Members
Constructors
Web
View
State
Link copied to clipboard
android
common
desktop
ios
web
actual
constructor
(
initUrl
:
String
)
expect
constructor
(
initUrl
:
String
=
""
)
actual
constructor
(
initUrl
:
String
)
actual
constructor
(
initUrl
:
String
)
actual
constructor
(
initUrl
:
String
)
Properties
can
Go
Back
Link copied to clipboard
android
common
desktop
ios
web
actual
val
canGoBack
:
Boolean
expect
val
canGoBack
:
Boolean
actual
val
canGoBack
:
Boolean
=
false
actual
val
canGoBack
:
Boolean
actual
val
canGoBack
:
Boolean
=
false
can
Go
Forward
Link copied to clipboard
android
common
desktop
ios
web
actual
val
canGoForward
:
Boolean
expect
val
canGoForward
:
Boolean
actual
val
canGoForward
:
Boolean
=
false
actual
val
canGoForward
:
Boolean
actual
val
canGoForward
:
Boolean
=
false
chrome
Client
Link copied to clipboard
android
val
chromeClient
:
WebChromeClient
client
Link copied to clipboard
android
val
client
:
WebViewClient
error
Link copied to clipboard
android
common
desktop
ios
web
actual
val
error
:
WebViewError
?
expect
val
error
:
WebViewError
?
actual
val
error
:
WebViewError
?
=
null
actual
val
error
:
WebViewError
?
actual
val
error
:
WebViewError
?
=
null
host
Link copied to clipboard
android
ios
web
val
host
:
WebView
?
val
host
:
WKWebView
?
val
host
:
HTMLIFrameElement
?
icon
Link copied to clipboard
android
common
desktop
ios
web
actual
val
icon
:
BitmapPainter
?
expect
val
icon
:
BitmapPainter
?
actual
val
icon
:
BitmapPainter
?
=
null
actual
val
icon
:
BitmapPainter
?
actual
val
icon
:
BitmapPainter
?
=
null
loading
State
Link copied to clipboard
android
common
desktop
ios
web
actual
val
loadingState
:
WebViewLoadingState
expect
val
loadingState
:
WebViewLoadingState
actual
val
loadingState
:
WebViewLoadingState
actual
val
loadingState
:
WebViewLoadingState
actual
val
loadingState
:
WebViewLoadingState
title
Link copied to clipboard
android
common
desktop
ios
web
actual
val
title
:
String
expect
val
title
:
String
actual
val
title
:
String
actual
val
title
:
String
actual
val
title
:
String
url
Link copied to clipboard
android
common
desktop
ios
web
actual
var
url
:
String
expect
var
url
:
String
actual
var
url
:
String
actual
var
url
:
String
actual
var
url
:
String
Functions
evaluate
Java
Script
Link copied to clipboard
android
common
desktop
ios
web
actual
fun
evaluateJavaScript
(
script
:
String
)
expect
fun
evaluateJavaScript
(
script
:
String
)
actual
fun
evaluateJavaScript
(
script
:
String
)
actual
fun
evaluateJavaScript
(
script
:
String
)
actual
fun
evaluateJavaScript
(
script
:
String
)
go
Back
Link copied to clipboard
android
common
desktop
ios
web
actual
fun
goBack
(
)
expect
fun
goBack
(
)
actual
fun
goBack
(
)
actual
fun
goBack
(
)
actual
fun
goBack
(
)
go
Forward
Link copied to clipboard
android
common
desktop
ios
web
actual
fun
goForward
(
)
expect
fun
goForward
(
)
actual
fun
goForward
(
)
actual
fun
goForward
(
)
actual
fun
goForward
(
)
host
Link copied to clipboard
android
ios
web
fun
host
(
block
:
(
WebView
)
->
Unit
)
:
Unit
?
fun
host
(
block
:
(
WKWebView
)
->
Unit
)
:
Unit
?
fun
host
(
block
:
(
HTMLIFrameElement
)
->
Unit
)
:
Unit
?
Host
View
Link copied to clipboard
android
ios
web
@
Composable
override
fun
HostView
(
modifier
:
Modifier
)
@
Composable
open
override
fun
HostView
(
modifier
:
Modifier
)
@
Composable
open
override
fun
HostView
(
modifier
:
Modifier
)
Monitor
Link copied to clipboard
android
ios
web
@
Composable
fun
Monitor
(
key1
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
WebView
)
->
Unit
)
@
Composable
fun
Monitor
(
vararg
keys
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
WebView
)
->
Unit
)
@
Composable
fun
Monitor
(
key1
:
Any
?
,
key2
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
WebView
)
->
Unit
)
@
Composable
fun
Monitor
(
key1
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
WKWebView
)
->
Unit
)
@
Composable
fun
Monitor
(
vararg
keys
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
WKWebView
)
->
Unit
)
@
Composable
fun
Monitor
(
key1
:
Any
?
,
key2
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
WKWebView
)
->
Unit
)
@
Composable
fun
Monitor
(
key1
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
HTMLIFrameElement
)
->
Unit
)
@
Composable
fun
Monitor
(
vararg
keys
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
HTMLIFrameElement
)
->
Unit
)
@
Composable
fun
Monitor
(
key1
:
Any
?
,
key2
:
Any
?
,
block
:
suspend
CoroutineScope
.
(
HTMLIFrameElement
)
->
Unit
)
release
Link copied to clipboard
android
open
override
fun
release
(
view
:
WebView
)