MCPcopy
hub / github.com/ampproject/amphtml / AmpContext

Interface AmpContext

src/preact/context.tsx:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import {createContext, useContext, useMemo} from '#preact';
10
11export interface AmpContext {
12 renderable: boolean;
13 playable: boolean;
14 loading: Loading_Enum;
15 notify?: () => {};
16}
17
18export interface ProviderProps {
19 renderable?: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected