Handler

object Handler
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T <: Txn[LazyRef(...)], Elem, U](dataFun: T => Elem => String)(updateFun: T => (Elem, U) => Option[String]): Handler[T, Elem, U, String]

Creates a simple handler which produces string representations and a standard list item renderer.

Creates a simple handler which produces string representations and a standard list item renderer.

Value Params
dataFun

the function which generates a string representation of a list element

updateFun

the function which generates a string from an element update

def apply[T <: Txn[LazyRef(...)], Elem](dataFun: T => Elem => String): Handler[T, Elem, Unit, String]