← Về thư mục
frontend/src/features/sessions/dom.ts
- $ · function · L8-L11 — function $(sel: string): HTMLElement | null
- el · function · L13-L22 — function el( tag: K, className?: string | null, text?: string | null, ): HTMLElementTagNameMap[K]
- ago · function · L24-L33 — function ago(iso: string | undefined | null): string
- framePath · function · L35-L37 — function framePath(fid: string, pid?: string | null): string
- routesToWorkspace · function · L43-L45 — function routesToWorkspace(pathname: string): boolean
- navURL · function · L47-L54 — function navURL(path: string, replace?: boolean): void
- setTitle · function · L56-L67 — function setTitle(name: string | null | undefined): void
- enableComposer · function · L69-L76 — function enableComposer(on: boolean): void
- grow · function · L78-L83 — function grow(): void
- showConv · function · L85-L88 — function showConv(): void
- setSidebar · function · L90-L105 — function setSidebar(collapsed: boolean): void
- syncMobileChrome · function · L107-L112 — function syncMobileChrome(resetDesktop: boolean): void
- isMobile · function · L114-L117 — function isMobile(): boolean
- messagesAtBottom · function · L119-L121 — function messagesAtBottom(m: HTMLElement | null, pad?: number): boolean
- paintJumpPill · function · L123-L128 — function paintJumpPill(): void
- down · function · L130-L138 — function down(force?: boolean): void
- updateJumpPill · function · L140-L145 — function updateJumpPill(): void
- openModalEl · function · L147-L150 — function openModalEl(modal: HTMLElement | null): void
- closeModalEl · function · L152-L155 — function closeModalEl(modal: HTMLElement | null): void
- clearConversationChrome · function · L158-L167 — function clearConversationChrome(): void