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
Package-level
declarations
Types
Functions
Types
Headless
Web
View
Link copied to clipboard
android
common
desktop
ios
web
@
Stable
actual
abstract
class
HeadlessWebView
(
context
:
Context
)
@
Stable
expect
abstract
class
HeadlessWebView
(
context
:
Context
)
@
Stable
actual
abstract
class
HeadlessWebView
(
context
:
Context
)
@
Stable
actual
abstract
class
HeadlessWebView
(
context
:
Context
)
@
Stable
actual
abstract
class
HeadlessWebView
(
context
:
Context
)
Web
View
Config
Link copied to clipboard
@
Stable
data
class
WebViewConfig
(
val
enableJavaScript
:
Boolean
=
true
,
val
enableJavaScriptOpenWindow
:
Boolean
=
true
,
val
enableDomStorage
:
Boolean
=
true
,
val
enableFileAccess
:
Boolean
=
true
,
val
enableContentAccess
:
Boolean
=
true
)
Web
View
Error
Link copied to clipboard
@
Stable
data
class
WebViewError
(
val
code
:
Long
,
val
description
:
String
)
Web
View
Loading
State
Link copied to clipboard
@
Stable
sealed
interface
WebViewLoadingState
Web
View
State
Link copied to clipboard
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
>
Functions
Web
View
Link copied to clipboard
android
common
desktop
ios
web
@
Composable
actual
fun
WebView
(
state
:
WebViewState
,
modifier
:
Modifier
,
config
:
WebViewConfig
)
@
Composable
expect
fun
WebView
(
state
:
WebViewState
,
modifier
:
Modifier
=
Modifier
,
config
:
WebViewConfig
=
remember { WebViewConfig() }
)
@
Composable
actual
fun
WebView
(
state
:
WebViewState
,
modifier
:
Modifier
,
config
:
WebViewConfig
)
@
Composable
actual
fun
WebView
(
state
:
WebViewState
,
modifier
:
Modifier
,
config
:
WebViewConfig
)
@
Composable
actual
fun
WebView
(
state
:
WebViewState
,
modifier
:
Modifier
,
config
:
WebViewConfig
)