← Về thư mục
frontend/src/features/attention/poll.ts
- AttentionPollFlags · type · L3-L6 — type AttentionPollFlags = { dashboardHidden: boolean; documentHidden: boolean; };
- shouldFetchAttention · function · L12-L14 — function shouldFetchAttention(flags: AttentionPollFlags): boolean
- PollDoc · type · L16-L21 — type PollDoc = { hidden?: boolean; getElementById?: ( id: string, ) => { classList: { contains: (name: string) => boolean } } | null; };
- defaultPollDoc · function · L23-L25 — function defaultPollDoc(): PollDoc | null
- readPollFlags · function · L27-L36 — function readPollFlags(doc: PollDoc | null = defaultPollDoc()): AttentionPollFlags