Preparing search index...
The search index is not available
@zeix/ui-element
@zeix/ui-element
setProperty
Function setProperty
Set property of an element
Since
0.8.0
setProperty
<
E
extends
Element
,
K
extends
string
|
number
|
symbol
>
(
key
:
K
,
s
?:
SignalLike
<
E
[
K
]
>
,
)
:
(
host
:
UIElement
<
ComponentSignals
>
,
target
:
E
,
index
:
number
)
=>
void
Type Parameters
E
extends
Element
K
extends
string
|
number
|
symbol
Parameters
key
:
K
name of property to be set
s
:
SignalLike
<
E
[
K
]
>
= key
state bound to the property value
Returns
(
host
:
UIElement
<
ComponentSignals
>
,
target
:
E
,
index
:
number
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@zeix/ui-element
UIElement
AttributeParser
ComponentSignals
Computed
ComputedCallbacks
Context
EffectCallbacks
ElementUpdater
EnqueueDedupe
EventListenerProvider
LogLevel
MaybeSignal
NodeInserter
PassedSignals
PassedSignalsProvider
Root
Signal
SignalInitializer
SignalLike
State
StateUpdater
UI
UnknownContext
ValueProvider
LOG_DEBUG
LOG_ERROR
LOG_INFO
LOG_WARN
RESET
UNSET
asBoolean
asEnum
asInteger
asJSON
asNumber
asString
batch
computed
createElement
dangerouslySetInnerHTML
effect
enqueue
insertNode
insertTemplate
isComputed
isSignal
isState
log
parse
removeElement
setAttribute
setProperty
setStyle
setText
state
toggleAttribute
toggleClass
toSignal
updateElement
useContext
watch
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Set property of an element
Since
0.8.0