Docs (4.0.0)
function bound function

list

Creates a new property binding, for an iterable value (array, Map, ManagedList, and others).

static

list<S>(source: Binding.ValidPathString<S>): Binding<Iterable<any>>

Parameters

  • source — The source property name or path
  • defaultValue — An optional default value, that’s used instead of the bound value when undefined

Return value

A new Binding instance.

Example

// Bind a list view to a ManagedList (or array) property
ui.list(
  { items: bound.list("users") },
  ui.row(
    // ...content for each user
  )
)

Related