Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/dom.ts>Attr

🔥 Static site generator for Deno 🦕
Very Popular
Latest
class Attr
extends Node
import { Attr } from "https://deno.land/x/lume@v2.4.1/deps/dom.ts";

Constructors

new
Attr(
map: NamedNodeMap | null,
name: string,
value: string,
key: CTOR_KEY,
)

Properties

readonly
localName: string
readonly
name: string
readonly
ownerElement: Element | null
readonly
prefix: string | null
readonly
specified: boolean
value: string
type alias Attr
import { type Attr } from "https://deno.land/x/lume@v2.4.1/deps/dom.ts";
definition: ConstructibleAttr
variable Attr
import { Attr } from "https://deno.land/x/lume@v2.4.1/deps/dom.ts";

type

Pick<ConstructibleAttr, keyof ConstructibleAttr> & Function