MCPcopy Create free account
hub / github.com/pollinations/pollinations / setAttribute

Method setAttribute

pollinations.ai/src/worker.ts:12–12  ·  view source on GitHub ↗
(name: string, value: string)

Source from the content-addressed store, hash-verified

10// Cloudflare Workers types (minimal, avoids conflicts with DOM types)
11interface CfElement {
12 setAttribute(name: string, value: string): void;
13 setInnerContent(content: string): void;
14 append(content: string, options?: { html: boolean }): void;
15}

Callers 8

syncThemeColorFunction · 0.65
fFunction · 0.65
udFunction · 0.65
fdFunction · 0.65
vwFunction · 0.65
tvFunction · 0.65
elementFunction · 0.65
useDocumentMetaFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected