Header menu logo Navs

AVal Module

Nested modules

Modules Description

Interop

Functions and values

Function or value Description

AVal.getValue adaptiveValue

Full Usage: AVal.getValue adaptiveValue

Parameters:
    adaptiveValue : aval<'Value>

Returns: 'Value
Modifiers: inline
Type parameters: 'Value

Get the value of an adaptive value by forcing it

adaptiveValue : aval<'Value>
Returns: 'Value

AVal.mapSet adaptiveValue setValue

Full Usage: AVal.mapSet adaptiveValue setValue

Parameters:
    adaptiveValue : cval<'Value>
    setValue : 'Value -> 'Value

Modifiers: inline
Type parameters: 'Value

sets up a transaction and sets the value resulting of the provided function

adaptiveValue : cval<'Value>
setValue : 'Value -> 'Value

AVal.setValue adaptiveValue value

Full Usage: AVal.setValue adaptiveValue value

Parameters:
    adaptiveValue : cval<'Value>
    value : 'Value

Modifiers: inline
Type parameters: 'Value

sets up a transaction and sets the value of a changeable value

adaptiveValue : cval<'Value>
value : 'Value

AVal.toBinding value

Full Usage: AVal.toBinding value

Parameters:
    value : aval<'Value>

Returns: IBinding

Convert Adaptive data into a binding that can be handled by avalonia

value : aval<'Value>
Returns: IBinding

AVal.useState initialValue

Full Usage: AVal.useState initialValue

Parameters:
    initialValue : 'Value

Returns: aval<'Value> * (('Value -> 'Value) -> unit)

Provide a friendly interface to handle local state via Adaptive data

initialValue : 'Value
Returns: aval<'Value> * (('Value -> 'Value) -> unit)

Type something to start searching.