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

x/aleph/server/types.ts>Element

The Full-stack Framework in Deno.
Very Popular
Go to Latest
class Element
Re-export
import { Element } from "https://deno.land/x/aleph@1.0.0-beta.1/server/types.ts";

Properties

readonly
attributes: any
readonly
namespaceURI: any
readonly
removed: boolean
tagName: string

Methods

after(content: string, content_type?: any): void
append(content: string, content_type?: any): void
before(content: string, content_type?: any): void
free(): void
getAttribute(name: string): string | undefined
hasAttribute(name: string): boolean
prepend(content: string, content_type?: any): void
remove(): void
removeAttribute(name: string): void
replace(content: string, content_type?: any): void
setAttribute(name: string, value: string): void
setInnerContent(content: string, content_type?: any): void