CollectPageRenderer

com.raquo.waypoint.CollectPageRenderer
sealed class CollectPageRenderer[Page, +View] extends Renderer[Page, View]

Value parameters

matchRender
  • match the page and render it. This partial function should only be defined for pages that this rendered can render.

Attributes

Graph
Supertypes
trait Renderer[Page, View]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def discard(): Unit

Called when the next page belongs to a different renderer

Called when the next page belongs to a different renderer

Attributes

Definition Classes
override def render(rawNextPage: Page): Option[View]

Called for next page. Return Some(el) to be rendered if the page belongs to this renderer, or None otherwise. This call creates actual elements. Do not discard its result just to see if the route is defined, it would be inefficient.

Called for next page. Return Some(el) to be rendered if the page belongs to this renderer, or None otherwise. This call creates actual elements. Do not discard its result just to see if the route is defined, it would be inefficient.

Attributes

Definition Classes