Readonly
addAdds a listener that will be called when this binding changes.
Adds a listener that will be called when this binding changes.
a function that may be used to remove the added listener.
useBindingEffect
and BindingsConsumer
useBindingEffect
and BindingsConsumer
a function that may be used to remove the added listener.
Readonly
getthe value
Readonly
getEvery time the value is changed, the change uid is updated
Every time the value is changed, the change uid is updated
Readonly
idA technical, but human-readable ID, which isn't guaranteed to be unique
Readonly
isA marker indicating that this is a binding type
Readonly
istrue
if the binding is locked
true
if the binding is locked
Readonly
istrue
if this binding has been marked as being modified
true
if this binding has been marked as being modified
Readonly
lockIncrements the lock count and returns a method to decrement it. A binding is locked if its lock
count is > 0
. When a binding is locked, mutating calls (reset
/set
/setRaw
) won't have an immediate effect. However, if a
mutating call is made on a locked binding, the change will be applied once the binding becomes unlocked.
Increments the lock count and returns a method to decrement it. A binding is locked if its lock
count is > 0
. When a binding is locked, mutating calls (reset
/set
/setRaw
) won't have an immediate effect. However, if a
mutating call is made on a locked binding, the change will be applied once the binding becomes unlocked.
a function for decrementing this binding's lock count.
a function for decrementing this binding's lock count.
Readonly
triggerForcibly triggers the change listeners. Don't normally use this!
Forcibly triggers the change listeners. Don't normally use this!
Readonly
uidAn ID that's unique to this runtime
Generated using TypeDoc
The readonly interface for bindings