← Về thư mục
frontend/src/features/notebook/chrome.ts
- el · function · L20-L25 — function el(tag: string, cls?: string | null, text?: string | null): HTMLElement
- iconEl · function · L27-L35 — function iconEl(name: string, size: number): HTMLElement
- bytes · function · L37-L42 — function bytes(b: number): string
- looksBinary · function · L45-L56 — function looksBinary(s: string | null | undefined): boolean
- binElide · function · L58-L63 — function binElide(len: number): HTMLElement
- stripAnsi · function · L66-L68 — function stripAnsi(s: unknown): string
- highlightTraceback · function · L74-L96 — function highlightTraceback(txt: string): string
- highlightCellSource · function · L101-L107 — function highlightCellSource(key: string, source: string, lang: string): string
- resetHighlightMemo · function · L109-L111 — function resetHighlightMemo(): void
- resetNotebookCellCaches · function · L114-L121 — function resetNotebookCellCaches( previousFrameId: string | null | undefined, nextFrameId: string | null | undefined, ): void
- NotebookExportOption · type · L123-L128 — type NotebookExportOption = { language?: string; key: string; suffix: string; path?: string; };
- notebookExportHref · function · L140-L143 — function notebookExportHref(frameId: string, option: NotebookExportOption): string
- notebookExportLink · function · L146-L181 — function notebookExportLink(frameId: string): HTMLElement
- artUrl · function · L183-L186 — function artUrl(a: { id?: string }): string
- artUrlByName · function · L189-L198 — function artUrlByName(fname: string): string
- notebookArtifactState · function · L200-L208 — function notebookArtifactState(cell: NotebookCell, filename: string): { state: "confirmed" | "saving" | "unconfirmed"; artifact?: NotebookOutputArtifact; }
- renderTableInto · function · L211-L267 — function renderTableInto(holder: HTMLElement, fname: string, url: string): () => void
- build · function · L213-L242 — build = (rows: string[][])
- read · function · L249-L264 — read = ()
- mountLiveNotebookFigure · function · L273-L275 — function mountLiveNotebookFigure(m: WsMessage): void