PartialSettable

io.github.nafg.scalajs.react.util.partialrenderer.PartialSettable
See thePartialSettable companion object
case class PartialSettable[Partial, Full]

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 error: Option[String]
def modPartial(f: Partial => Partial): Callback
def modify: (Tentative[Partial, Full] => Tentative[Partial, Full]) => Callback
def partialValue: Partial
def setFullCB(full: Full): Callback
def setPartialCB(p: Partial): Callback
def state: StateSnapshot[Tentative[Partial, Full]]
def statePartial: StateSnapshot[Partial]
def value: Tentative[Partial, Full]
def xmap[P2, F2](get: Tentative[Partial, Full] => Tentative[P2, F2])(reverseGet: Tentative[P2, F2] => Tentative[Partial, Full])(implicit partialityType2: PartialityType[P2, F2]): PartialSettable[P2, F2]
def xmapFull[F1](iso: Iso[Full, F1]): PartialSettable[Partial, F1]
def xmapPartial[P1](iso: Iso[Partial, P1]): PartialSettable[P1, Full]
def zoom[P2, F2](lens: Lens[Tentative[Partial, Full], Tentative[P2, F2]])(implicit partialityType2: PartialityType[P2, F2]): PartialSettable[P2, F2]
def zoom[P2, F2](get: Tentative[Partial, Full] => Tentative[P2, F2])(set: Tentative[P2, F2] => Tentative[Partial, Full] => Tentative[Partial, Full])(implicit partialityType2: PartialityType[P2, F2]): PartialSettable[P2, F2]
def zoom[P2, F2](lensPartial: Lens[Partial, P2], lensFull: Lens[Full, F2])(implicit partialityType2: PartialityType[P2, F2]): PartialSettable[P2, F2]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Implicits

Implicits

implicit val partialityType: PartialityType[Partial, Full]