Skip to main content
Module

x/jito/mod.ts>ComponentElement

Web component tools with Data Binding, Template Engine and Virtual Dom for ESM.
Go to Latest
class ComponentElement
extends HTMLElement
import { ComponentElement } from "https://deno.land/x/jito@1.1.1/mod.ts";

Constructors

new
ComponentElement()

Properties

private
optional
_entity: Entity
private
optional
_run: (value: void | PromiseLike<void>) => void
readonly
attributes: NamedNodeMap
readonly
entity: Entity | undefined

Methods

protected
_setEntity(entity: Entity)
getAttributeNode(name: string): Attr | null
loadAttrs(): void
ready(): Promise<void>
removeAttribute(name: string)
setAttr(name: string, value: unknown): void
setAttribute(name: string, value: unknown)