Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1451
Properties
Section titled “Properties”attributes
Section titled “attributes”
readonlyattributes:IterableIterator<string[]>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1453
namespaceURI
Section titled “namespaceURI”
readonlynamespaceURI:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1455
removed
Section titled “removed”
readonlyremoved:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1454
tagName
Section titled “tagName”tagName:
string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1452
Methods
Section titled “Methods”after()
Section titled “after()”after(
content,options?):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1464
Parameters
Section titled “Parameters”content
Section titled “content”string | Response | ReadableStream<any>
options?
Section titled “options?”Returns
Section titled “Returns”Element
append()
Section titled “append()”append(
content,options?):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1472
Parameters
Section titled “Parameters”content
Section titled “content”string | Response | ReadableStream<any>
options?
Section titled “options?”Returns
Section titled “Returns”Element
before()
Section titled “before()”before(
content,options?):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1460
Parameters
Section titled “Parameters”content
Section titled “content”string | Response | ReadableStream<any>
options?
Section titled “options?”Returns
Section titled “Returns”Element
getAttribute()
Section titled “getAttribute()”getAttribute(
name):null|string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1456
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”null | string
hasAttribute()
Section titled “hasAttribute()”hasAttribute(
name):boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1457
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
onEndTag()
Section titled “onEndTag()”onEndTag(
handler):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1486
Parameters
Section titled “Parameters”handler
Section titled “handler”(tag) => void | Promise<void>
Returns
Section titled “Returns”void
prepend()
Section titled “prepend()”prepend(
content,options?):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1468
Parameters
Section titled “Parameters”content
Section titled “content”string | Response | ReadableStream<any>
options?
Section titled “options?”Returns
Section titled “Returns”Element
remove()
Section titled “remove()”remove():
Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1480
Returns
Section titled “Returns”Element
removeAndKeepContent()
Section titled “removeAndKeepContent()”removeAndKeepContent():
Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1481
Returns
Section titled “Returns”Element
removeAttribute()
Section titled “removeAttribute()”removeAttribute(
name):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1459
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Element
replace()
Section titled “replace()”replace(
content,options?):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1476
Parameters
Section titled “Parameters”content
Section titled “content”string | Response | ReadableStream<any>
options?
Section titled “options?”Returns
Section titled “Returns”Element
setAttribute()
Section titled “setAttribute()”setAttribute(
name,value):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1458
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Element
setInnerContent()
Section titled “setInnerContent()”setInnerContent(
content,options?):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1482
Parameters
Section titled “Parameters”content
Section titled “content”string | Response | ReadableStream<any>
options?
Section titled “options?”Returns
Section titled “Returns”Element