Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1716
Properties
Section titled “Properties”attributes
Section titled “attributes”
readonlyattributes:IterableIterator<string[]>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1718
namespaceURI
Section titled “namespaceURI”
readonlynamespaceURI:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1720
removed
Section titled “removed”
readonlyremoved:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1719
tagName
Section titled “tagName”tagName:
string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1717
Methods
Section titled “Methods”after()
Section titled “after()”after(
content,options?):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1729
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1737
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1725
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1721
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1722
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1751
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1733
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1745
Returns
Section titled “Returns”Element
removeAndKeepContent()
Section titled “removeAndKeepContent()”removeAndKeepContent():
Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1746
Returns
Section titled “Returns”Element
removeAttribute()
Section titled “removeAttribute()”removeAttribute(
name):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1724
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1741
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1723
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.20251118.0/node_modules/@cloudflare/workers-types/index.ts:1747
Parameters
Section titled “Parameters”content
Section titled “content”string | Response | ReadableStream<any>
options?
Section titled “options?”Returns
Section titled “Returns”Element