jQuery/JS Common Types - events - EventInfo

A type that contains fields common for all events (component, element, model).

import { EventInfo } from "devextreme/common/core/events"
Type:

Object

Do not use NativeEventInfo if you specify this type.

export interface EventInfo<TComponent> {
    readonly component: TComponent;
    readonly element: DxElement;
}

component

The UI component's instance.

Type: events

element

The UI component's container.