Settable

io.github.nafg.scalajs.react.util.partialrenderer.Settable
See theSettable companion object
case class Settable[A](value: A)(modifyFunc: (A => A) => Callback)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def modify(f: A => A): Callback
def set(a: A): Callback
def toStateSnapshot: StateSnapshot[A]
def xmap[B](get: A => B)(reverseGet: B => A): Settable[B]
def zoom[B](lens: Lens[A, B]): Settable[B]
def zoom[B](get: A => B)(set: B => A => A): Settable[B]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product