← Về thư mục
frontend/src/features/artifacts/renderers.ts
- RendererHost · type · L33-L33 — type RendererHost = HTMLElement & { _rendererRequest?: number };
- artifactWorkbenchOn · function · L36-L43 — function artifactWorkbenchOn(): boolean
- rendererFailure · function · L45-L55 — function rendererFailure(container: HTMLElement, a: ArtifactRow, url: string): void
- appendResidues · function · L57-L73 — function appendResidues( container: HTMLElement, sequence: string, alphabet: string, limit: number, ): number
- renderMarkdownArtifact · function · L75-L84 — function renderMarkdownArtifact(container: HTMLElement, url: string): void
- controlDense · function · L92-L101 — function controlDense(text: string): boolean
- renderRawSource · function · L103-L124 — function renderRawSource(container: HTMLElement, a: ArtifactRow, text: string, url: string): void
- renderStructuredText · function · L126-L144 — function renderStructuredText( container: HTMLElement, a: ArtifactRow, text: string, url: string = artUrl(a), ): void
- renderTextArtifact · function · L146-L158 — function renderTextArtifact(container: HTMLElement, a: ArtifactRow, url: string): void
- renderTableArtifact · function · L160-L169 — function renderTableArtifact( container: HTMLElement, a: ArtifactRow, url: string, renderer?: { capabilities?: readonly string[] | null }, ): void
- renderSequenceArtifact · function · L171-L232 — function renderSequenceArtifact(container: HTMLElement, a: ArtifactRow, url: string): void
- renderAlignmentArtifact · function · L234-L277 — function renderAlignmentArtifact(container: HTMLElement, a: ArtifactRow, url: string): void
- renderGenomeTrack · function · L279-L363 — function renderGenomeTrack(container: HTMLElement, a: ArtifactRow, url: string): void
- chemistryElementColor · function · L365-L380 — function chemistryElementColor(element: string): string
- molecule2dSvg · function · L382-L446 — function molecule2dSvg(model: MolfileModel | null | undefined): SVGElement | null
- point · function · L401-L404 — point = (atom: { x: number; y: number })
- renderChemistry2D · function · L448-L496 — function renderChemistry2D(container: HTMLElement, a: ArtifactRow, url: string): void
- renderLatexArtifact · function · L498-L539 — function renderLatexArtifact(container: HTMLElement, a: ArtifactRow, url: string): void
- show · function · L527-L533 — show = (mode: string)
- renderDownloadArtifact · function · L541-L549 — function renderDownloadArtifact(container: HTMLElement, a: ArtifactRow, url: string): void
- renderDownloadCard · function · L552-L562 — function renderDownloadCard(container: HTMLElement, a: ArtifactRow, url: string): void
- runIsland · function · L564-L569 — function runIsland(name: string, ...args: unknown[]): boolean
- renderImageGlue · function · L571-L577 — function renderImageGlue(content: HTMLElement, a: ArtifactRow, url: string): void
- renderPdfGlue · function · L579-L586 — function renderPdfGlue(content: HTMLElement, a: ArtifactRow, url: string): void
- renderHtmlPreviewGlue · function · L588-L591 — function renderHtmlPreviewGlue(content: HTMLElement, a: ArtifactRow): void
- renderMolecule3dGlue · function · L593-L606 — function renderMolecule3dGlue(content: HTMLElement, url: string, nm: string): void
- renderArtifactDescriptor · function · L608-L656 — function renderArtifactDescriptor( body: HTMLElement, a: ArtifactRow, descriptor: ReturnType, ): void
- renderArtifactBody · function · L659-L676 — function renderArtifactBody(body: HTMLElement, a: ArtifactRow): void