Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/gauntlet/imports/happy_dom.ts>HTMLScriptElement

Work-in-progress front-end tool which does put a smile on my face
Latest
class HTMLScriptElement
implements IHTMLScriptElement
extends HTMLElement
Re-export
import { HTMLScriptElement } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Properties

_evaluateScript: boolean
async: boolean

Returns async.

charset: string

Returns charset.

defer: boolean

Returns defer.

isConnected: boolean

"true" if connected to DOM.

lang: string

Returns lang.

onerror: (event: ErrorEvent) => void
onload: (event: Event) => void
src: string

Returns source.

text: string

Returns text.

type: string

Returns type.

Methods

cloneNode(deep?: boolean): IHTMLScriptElement

Clones a node.

setAttributeNode(attribute: Attr): Attr

The setAttributeNode() method adds a new Attr node to the specified element.