Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Attr

A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types.

interface Attr extends Node {
readonly localName: string;
readonly name: string;
readonly namespaceURI: string | null;
readonly ownerDocument: Document;
readonly ownerElement: Element | null;
readonly prefix: string | null;
readonly specified: boolean;
value: string;
}
var Attr: {
prototype: Attr;
new (): Attr;
}
;

§Extends

§Properties

§
readonly localName: string
[src]
§
readonly name: string
[src]
§
readonly namespaceURI: string | null
[src]
§
readonly ownerDocument: Document
[src]
§
readonly ownerElement: Element | null
[src]
§
readonly prefix: string | null
[src]
§
readonly specified: boolean
[src]
§
value: string
[src]