Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExternalPartRenderer

Hierarchy

  • DefaultExternalPartRenderer
    • ExternalPartRenderer

Implements

  • IExternalPartRenderer

Index

Constructors

constructor

Properties

Protected externalData

externalData: Map<string, [IMimeBundle, JSONObject | null]>

Protected externalParts

externalParts: Map<string, Widget>

Private handles

handles: Map<string, DisplayHandle> = new Map<string, DisplayHandle>()

isDisposed

isDisposed: boolean

Private manager

Protected rendermime

rendermime: IRenderMimeRegistry

Methods

dispose

  • dispose(): void
  • Returns void

getAllPartIds

  • getAllPartIds(): IterableIterator<string>

getMetadata

  • getMetadata(): object[]

getPartById

  • getPartById(id: string): null | Widget
  • Parameters

    • id: string

    Returns null | Widget

renderModel

  • renderModel(model: IMimeBundle, metadata: JSONValue | undefined, id: string): Promise<void>
  • Parameters

    • model: IMimeBundle
    • metadata: JSONValue | undefined
    • id: string

    Returns Promise<void>

serializePart

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

    • id: string

    Returns [IMimeBundle, null | JSONObject]

Generated using TypeDoc