← Về thư mục
frontend/src/features/artifacts/preview.ts
- CachedGrant · interface · L13-L16 — interface CachedGrant
- sandboxOriginForPage · function · L27-L29 — function sandboxOriginForPage(): string
- forgetGrants · function · L32-L34 — function forgetGrants(): void
- grantTtlMs · function · L36-L41 — function grantTtlMs(grant: unknown): number
- upgrade · function · L43-L50 — function upgrade(frame: HTMLIFrameElement, note: HTMLElement, src: string): void
- renderHtmlPreview · function · L57-L109 — function renderHtmlPreview(content: HTMLElement, a: ArtifactRow): void
- attached · function · L68-L68 — attached = ()