Class

diode.react.ReactPot

potWithReact

Related Doc: package ReactPot

Permalink

implicit final class potWithReact[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. potWithReact
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new potWithReact(pot: Pot[A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. val pot: Pot[A]

    Permalink
  8. def render(f: (A) ⇒ VdomNode): VdomNode

    Permalink

    Render non-empty (ready or stale) content

    Render non-empty (ready or stale) content

    f

    Transforms Pot value into a VdomNode

  9. def renderEmpty(f: ⇒ VdomNode): VdomNode

    Permalink

    Render when Pot is empty

    Render when Pot is empty

    f

    Returns a VdomNode

  10. def renderFailed(f: (Throwable) ⇒ VdomNode): VdomNode

    Permalink

    Render when Pot has failed

    Render when Pot has failed

    f

    Transforms an exception into a VdomNode

  11. def renderPending(b: (Int) ⇒ Boolean, f: (Int) ⇒ VdomNode): VdomNode

    Permalink

    Render when Pot is pending with a filter on duration

    Render when Pot is pending with a filter on duration

    b

    Filter based on duration value

    f

    Transforms duration time into a VdomNode

  12. def renderPending(f: (Int) ⇒ VdomNode): VdomNode

    Permalink

    Render when Pot is pending

    Render when Pot is pending

    f

    Transforms duration time into a VdomNode

  13. def renderReady(f: (A) ⇒ VdomNode): VdomNode

    Permalink

    Render content in Ready state, not including stale states

    Render content in Ready state, not including stale states

    f

    Transforms Pot value into a VdomNode

  14. def renderStale(f: (A) ⇒ VdomNode): VdomNode

    Permalink

    Render stale content (PendingStale or FailedStale)

    Render stale content (PendingStale or FailedStale)

    f

    Transforms Pot value into a VdomNode

  15. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped