← Về thư mục
frontend/src/features/chrome/team.test.ts
- ModalApi · type · L8-L8 — type ModalApi = typeof import("./modal");
- TeamApi · type · L9-L9 — type TeamApi = typeof import("./team");
- MiniClassList · class · L11-L36 — class MiniClassList
- constructor · method · L13-L18 — constructor( private readonly onChange?: () => void, initial?: string, )
- add · method · L19-L22 — add(...n: string[]): void
- remove · method · L23-L26 — remove(...n: string[]): void
- contains · method · L27-L29 — contains(n: string): boolean
- toggle · method · L30-L35 — toggle(n: string, force?: boolean): void
- MiniEl · type · L38-L65 — type MiniEl = { id: string; tagName: string; className: string; classList: MiniClassList; children: MiniEl[]; parent: MiniEl | null; attrs: Map; textContent: string; innerHTML: string; style: Record; onclick: ((e?: Event) => void) | null; offsetParent: MiniEl | null; href?: string; type?: string; files?: File[]; value?: string; appendChild: (c: MiniEl) => MiniEl; querySelector: (sel: string) => MiniEl | null; querySelectorAll: (sel: string) => MiniEl[]; hasAttribute: (n: string) => boolean; setAttribute: (n: string, v: string) => void; getAttribute: (n: string) => string | null; focus: () => void; addEventListener: (type: string, fn: () => void) => void; contains: (n: MiniEl | null) => boolean; remove: () => void; };
- makeEl · function · L67-L160 — function makeEl(doc: MiniDoc, tag: string): MiniEl
- appendChild · method · L86-L91 — appendChild(c: MiniEl)
- querySelector · method · L92-L94 — querySelector(sel: string)
- querySelectorAll · method · L95-L105 — querySelectorAll(sel: string)
- walk · function · L97-L102 — walk = (n: MiniEl)
- hasAttribute · method · L106-L108 — hasAttribute(n: string)
- setAttribute · method · L109-L115 — setAttribute(n: string, v: string)
- getAttribute · method · L116-L118 — getAttribute(n: string)
- focus · method · L119-L121 — focus()
- addEventListener · method · L122-L122 — addEventListener()
- contains · method · L123-L127 — contains(n: MiniEl | null)
- remove · method · L128-L131 — remove()
- syncHidden · function · L133-L135 — syncHidden = (): void
- get · method · L139-L141 — get()
- set · method · L142-L145 — set(value: string)
- get · method · L149-L152 — get()
- set · method · L153-L156 — set(value: string)
- match · function · L162-L168 — function match(n: MiniEl, sel: string): boolean
- MiniDoc · class · L170-L201 — class MiniDoc
- constructor · method · L175-L179 — constructor()
- getElementById · method · L180-L182 — getElementById(id: string): MiniEl | null
- createElement · method · L183-L185 — createElement(tag: string): MiniEl
- createTextNode · method · L186-L190 — createTextNode(data: string): MiniEl
- querySelector · method · L191-L194 — querySelector(sel: string): MiniEl | null
- querySelectorAll · method · L195-L197 — querySelectorAll(sel: string): MiniEl[]
- contains · method · L198-L200 — contains(n: MiniEl | null): boolean
- json · function · L341-L345 — json = (body: unknown)