c

radhoc

CacheCallContent

class CacheCallContent[Request, Response] extends AnyRef

For many-time loading of content, e.g., via ajax, assuming repeated calls will be cached Request and sendRequest are decoupled because the component is designed to change only when the request changes, since sendRequest functions may be difficult to compare.

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

Instance Constructors

  1. new CacheCallContent()(implicit executionContext: ExecutionContext)

Type Members

  1. class Backend extends AnyRef
  2. case class Loaded(content: Response) extends State with Product with Serializable
  3. case class Props(request: Request, sendRequest: (Request) ⇒ OrWrapped[AsyncCallback, Response], willLoad: (Response) ⇒ Callback = _ => Callback.empty, didLoad: (Response) ⇒ Callback = _ => Callback.empty, render: (State) ⇒ japgolly.scalajs.react.vdom.html_<^.VdomElement) extends Product with Serializable
  4. sealed trait State extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Component: japgolly.scalajs.react.component.Js.ComponentWithRoot[Props, [-p, +u]japgolly.scalajs.react.CtorType.Props[p, u], UnmountedWithRoot[Props, MountedWithRoot[[A]A, Props, State, Backend, Props, State], Box[Props], MountedWithRoot[[A]A, Box[Props], Box[State], Component[Box[Props], Box[State]] with Vars[Props, State, Backend], Box[Props], Box[State]]], Box[Props], [-p, +u]japgolly.scalajs.react.CtorType.Props[p, u], UnmountedWithRoot[Box[Props], MountedWithRoot[[A]A, Box[Props], Box[State], Component[Box[Props], Box[State]] with Vars[Props, State, Backend], Box[Props], Box[State]], Box[Props], MountedWithRoot[[A]A, Box[Props], Box[State], Component[Box[Props], Box[State]] with Vars[Props, State, Backend], Box[Props], Box[State]]]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def make(request: Request, sendRequest: (Request) ⇒ OrWrapped[AsyncCallback, Response], willLoad: (Response) ⇒ Callback = _ => Callback.empty, didLoad: (Response) ⇒ Callback = _ => Callback.empty)(render: (State) ⇒ japgolly.scalajs.react.vdom.html_<^.VdomElement): UnmountedWithRoot[Props, MountedWithRoot[[A]A, Props, State, Backend, Props, State], Box[Props], MountedWithRoot[[A]A, Box[Props], Box[State], Component[Box[Props], Box[State]] with Vars[Props, State, Backend], Box[Props], Box[State]]]
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. object Loading extends State with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped