Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1458
Properties
Section titled “Properties”attributes
Section titled “attributes”
readonly
attributes:IterableIterator
<string
[]>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1460
namespaceURI
Section titled “namespaceURI”
readonly
namespaceURI:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1462
removed
Section titled “removed”
readonly
removed:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1461
tagName
Section titled “tagName”tagName:
string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1459
Methods
Section titled “Methods”after()
Section titled “after()”after(
content
,options?
):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1471
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1479
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1467
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1463
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1464
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1493
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1475
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1487
Returns
Section titled “Returns”Element
removeAndKeepContent()
Section titled “removeAndKeepContent()”removeAndKeepContent():
Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1488
Returns
Section titled “Returns”Element
removeAttribute()
Section titled “removeAttribute()”removeAttribute(
name
):Element
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1466
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1483
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1465
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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1489
Parameters
Section titled “Parameters”content
Section titled “content”string
| Response
| ReadableStream
<any
>
options?
Section titled “options?”Returns
Section titled “Returns”Element