gh-pages / com.nextfaze.devfun.invoke / uiField

uiField

fun <T : Any> uiField(name: CharSequence, initialValue: T, annotations: List<Annotation> = emptyList(), onSetValue: (T) -> Unit): UiField<T> (source)

Utility function to create a UiField instance. (experimental)

Parameters

name - The name of this option.

initialValue - The initial value.

onSetValue - Callback when the value is to be set.