render on two different targets (which may also be SplitRenderer)

Type Parameters

  • A

  • B

Hierarchy

  • Renderer<{
        a: A;
        b: B;
    }>
    • SplitRenderer

Constructors

Properties

a: Renderer<A>
b: Renderer<B>
defaultRenderAs: {
    a: A;
    b: B;
}

The renderAs value for the default element

Type declaration

  • a: A
  • b: B
renderInfo: {
    a: A;
    b: B;
}[] = []

Ordered by ID, the renderAs info for each element.

Methods

  • Intentionally overridable, called when an element is modified.

    Returns

    The value passed upstream to be stored as the actual renderAs info, allowing for sanitation in this function, or one overriding it.

    Parameters

    • id: number

      The id of the element to modify.

    • __namedParameters: {
          a: A;
          b: B;
      }

      The new renderAs info.

      • a: A
      • b: B

    Returns {
        a: A;
        b: B;
    }

    • a: A
    • b: B

Generated using TypeDoc