Module

x/live/deps.ts>inspectVSCode.DomInspector

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
class inspectVSCode.DomInspector
import { inspectVSCode } from "https://dotland.deno.dev/x/live@1.63.12/deps.ts";
const { DomInspector } = inspectVSCode;

Constructors

new
DomInspector(element: HTMLElement, options?: DomInspectorOptions)

Properties

private
active: boolean
private
element: HTMLElement
private
optional
hoveredElement: HTMLElement
private
optional
onDeactivate: () => unknown
private
options: DomInspectorOptions
activate: (onDeactivate?: () => void) => unknown
addEventListeners: () => unknown

Add event listeners for DOM-inspectorey actions

clean: (element: HTMLElement) => unknown
deactivate: () => unknown
getManifestKey: (element: HTMLElement) => string | null
handleCancelKey: (event: KeyboardEvent) => unknown
handleClick: (event: MouseEvent) => unknown
handleKeydown: (event: KeyboardEvent) => unknown
handleMouseOut: (event: MouseEvent) => unknown
handleMouseOver: (event: MouseEvent) => unknown
isActive: () => unknown
paint: (element: HTMLElement) => unknown
import inspectVSCode.DomInspector
import { inspectVSCode } from "https://dotland.deno.dev/x/live@1.63.12/deps.ts";
const { DomInspector } = inspectVSCode;