toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-preact-signals-core
/
preact.signals.core
/
signal
signal
external
fun
<
T
>
signal
(
value
:
T
)
:
Signal
<
T
>
(
source
)
Create a new plain signal.
Parameters
value
The initial value for the signal.