Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultExternalPartRenderer

A default IExternalPartRenderer that uses the Rendermime Registry.

The RenderMime registry is optional- if not provided, there will be no default renderer.

Hierarchy

  • DefaultExternalPartRenderer

Implements

Index

Constructors

constructor

Properties

Private _isDisposed

_isDisposed: boolean = false

Protected externalData

externalData: Map<string, [IMimeBundle, null | JSONObject]> = new Map<string,[nbformat.IMimeBundle, nbformat.OutputMetadata | null]>()

Protected externalParts

externalParts: Map<string, Widget> = new Map<string, Widget>()

Protected rendermime

rendermime: IRenderMimeRegistry

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

dispose

  • dispose(): void

getAllPartIds

  • getAllPartIds(): IterableIterator<string>

getMetadata

  • getMetadata(): object[]

getPartById

  • getPartById(id: string): null | Widget

renderModel

  • renderModel(data: IMimeBundle, metadata: nbformat.OutputMetadata | undefined, id: string): Promise<void>

serializePart

  • serializePart(id: string): [IMimeBundle, null | JSONObject]

Generated using TypeDoc