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

x/gauntlet/imports/happy_dom.ts>HTMLLinkElement

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

Properties

_evaluateCSS: boolean
as: string

Returns as.

crossOrigin: string

Returns crossOrigin.

href: string

Returns href.

hreflang: string

Returns hreflang.

isConnected: boolean

"true" if connected to DOM.

media: string

Returns media.

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

Returns referrerPolicy.

rel: string

Returns rel.

readonly
sheet: CSSStyleSheet
type: string

Returns type.

Methods

setAttributeNode(attribute: Attr): Attr

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