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

x/inspect_vscode/inspector.ts>default

Click in your components and open VSCode in the correct file and line number.
Latest
class default
import { default } from "https://deno.land/x/inspect_vscode@0.2.1/inspector.ts";

Constructors

new
default(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