Package space.kscience.dataforge.properties

Types

MetaProperty
Link copied to clipboard
common
class MetaProperty<T : Any>(meta: ObservableMutableMeta, name: Name, converter: MetaConverter<T>) : Property<T?>
Property
Link copied to clipboard
common
interface Property<T>

Functions

bind
Link copied to clipboard
common
fun <T> Property<T>.bind(other: Property<T>)

Bi-directional connection between properties

bindChecked
Link copied to clipboard
js
fun HTMLInputElement.bindChecked(property: Property<Boolean>)
bindValue
Link copied to clipboard
js
fun HTMLInputElement.bindValue(property: Property<String>)
mirror
Link copied to clipboard
common
fun <T> Property<T>.mirror(source: Property<T>)

Reflect all changes in the source property onto this property. Does not reflect changes back.

property
Link copied to clipboard
common
fun <S : Scheme, T : Any> S.property(property: KMutableProperty1<S, T?>): Property<T?>
toFlow
Link copied to clipboard
common
fun <T> Property<T>.toFlow(): StateFlow<T>