Docs (4.0.0)
App context

class RenderContext

An abstract class that supports global view rendering, part of the global application context.

abstract

class RenderContext
extends ManagedObject

Notes

  • This class is implemented by a platform renderer, e.g. to render components to the browser DOM, or in-memory (for testing). Most of these methods should not be used directly by an application.
  • The current renderer, once initialized, should be available as app.renderer.

Type Members

Instance Members

  • getRenderCallback() abstractReturns a render callback for root view output; do not use directly.
  • createObserver(target) abstractCreates a new renderer observer for the provided view object; do not use directly.
  • transform(out) abstractCreates a new transformation object for the provided output, if supported.
  • schedule(f, lowPriority?) abstractSchedules execution of the provided function in the render queue.
  • clear() abstractClears all current root view output.
  • remount() abstractRe-renders output, and relocates existing mounted view output if needed.
  • animateAsync(out, transformer)Uses the provided output transformer to animate a rendered view.

Inherited Members