Home > widget-integration > DOMActionContext

DOMActionContext interface

Signature:

export interface DOMActionContext<TEvent extends Event = Event> 

Properties

Property

Modifiers

Type

Description

closest

<T extends HTMLElement = HTMLElement>(selector: string, from?: Element | null) => T | null

delegateTarget

HTMLElement

event

TEvent

find

<T extends HTMLElement = HTMLElement>(selector: string, parent?: ParentNode) => T | null

findAll

<T extends HTMLElement = HTMLElement>(selector: string, parent?: ParentNode) => T[]

root

ParentNode & EventTarget

target

HTMLElement