Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultHelpDocProvider

Hierarchy

  • DefaultHelpDocProvider

Implements

Index

Constructors

Protected constructor

  • new DefaultHelpDocProvider(renderedDocs: string[], metadata: any[], latexTypesetter: ILatexTypesetter | null, linkHandler: ILinkHandler | null, resolver: IResolver | null): DefaultHelpDocProvider
  • Parameters

    • renderedDocs: string[]
    • metadata: any[]
    • latexTypesetter: ILatexTypesetter | null
    • linkHandler: ILinkHandler | null
    • resolver: IResolver | null

    Returns DefaultHelpDocProvider

Properties

Private documents

documents: Array<string>

Private latexTypesetter

latexTypesetter: ILatexTypesetter | null

Private linkHandler

linkHandler: ILinkHandler | null

Private metadata

metadata: Array<Record<string, string> | null>

onChanged

onChanged: Observable<void> = this.onChangedSrc$.asObservable()

onChangedSrc$

onChangedSrc$: Subject<void> = new Subject<void>()

Private resolver

resolver: IResolver | null

Methods

addDocument

  • addDocument(doc: string): Promise<void>

getDocument

  • getDocument(titleOrIdx: string | number): string

getMetadata

  • getMetadata(): (null | object)[]

Static Create

  • Create(latexTypesetter: ILatexTypesetter | null, linkHandler: ILinkHandler | null, resolver: IResolver | null): Promise<DefaultHelpDocProvider>

Generated using TypeDoc