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

x/frugal/dep/dom.ts>Attr

A frugal web framework
Go to Latest
class Attr
extends Node
import { Attr } from "https://deno.land/x/frugal@0.3.0/dep/dom.ts";

Constructors

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

Properties

readonly
localName
readonly
name
readonly
ownerElement
readonly
prefix: string | null
readonly
specified
value: string

Methods

appendChild(): Node
cloneNode(): Attr
insertBefore(): Node
removeChild(): Node
replaceChild(): Node
[setAttrValueSym](value: string)
[setNamedNodeMapOwnerElementSym](ownerElement: Element | null)
type alias Attr
import { type Attr } from "https://deno.land/x/frugal@0.3.0/dep/dom.ts";
definition: ConstructibleAttr
variable Attr
import { Attr } from "https://deno.land/x/frugal@0.3.0/dep/dom.ts";

type

Pick<ConstructibleAttr, keyof ConstructibleAttr> & Function