# Interface JQueryInputEventObject

#### Deprecated

​ Deprecated. Use `JQuery.Event`.

interface JQueryInputEventObject {
altKey : boolean;
AT_TARGET : 2;
bubbles : boolean;
BUBBLING_PHASE : 3;
cancelable : boolean;
cancelBubble : boolean;
CAPTURING_PHASE : 1;
composed : boolean;
ctrlKey : boolean;
currentTarget : Element;
data : any;
defaultPrevented : boolean;
delegateTarget : Element;
eventPhase : number;
isTrusted : boolean;
metaKey : boolean;
namespace : string;
NONE : 0;
originalEvent : Event;
pageX : number;
pageY : number;
relatedTarget : Element;
result : any;
returnValue : boolean;
shiftKey : boolean;
srcElement : null | EventTarget;
target : Element;
timeStamp : number;
type : string;
which : number;
composedPath (): EventTarget[];
initEvent (type: string, bubbles?: boolean, cancelable?: boolean): void;
isDefaultPrevented (): boolean;
isImmediatePropagationStopped (): boolean;
isPropagationStopped (): boolean;
preventDefault (): any;
stopImmediatePropagation (): void;
stopPropagation (): void;
}

#### Hierarchy (View Summary)

- BaseJQueryEventObject
  - JQueryInputEventObject
    - JQueryEventObject
    - JQueryMouseEventObject
    - JQueryKeyEventObject

- Defined in node_modules/@types/jquery/legacy.d.ts:144

##### Index

### Properties

altKey
AT_TARGET
bubbles
BUBBLING_PHASE
cancelable
cancelBubble
CAPTURING_PHASE
composed
ctrlKey
currentTarget
data
defaultPrevented
delegateTarget
eventPhase
isTrusted
metaKey
namespace
NONE
originalEvent
pageX
pageY
relatedTarget
result
returnValue
shiftKey
srcElement
target
timeStamp
type
which

### Methods

composedPath
initEvent
isDefaultPrevented
isImmediatePropagationStopped
isPropagationStopped
preventDefault
stopImmediatePropagation
stopPropagation

## Properties

### altKey

altKey: boolean

- Defined in node_modules/@types/jquery/legacy.d.ts:145

### `Readonly` AT_TARGET

AT_TARGET: 2

Inherited from BaseJQueryEventObject.AT_TARGET

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8765

### `Readonly` bubbles

bubbles: boolean

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

MDN Reference

Inherited from BaseJQueryEventObject.bubbles

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8660

### `Readonly` BUBBLING_PHASE

BUBBLING_PHASE: 3

Inherited from BaseJQueryEventObject.BUBBLING_PHASE

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8766

### `Readonly` cancelable

cancelable: boolean

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

MDN Reference

Inherited from BaseJQueryEventObject.cancelable

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8672

### cancelBubble

cancelBubble: boolean

#### Deprecated

MDN Reference

Inherited from BaseJQueryEventObject.cancelBubble

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8666

### `Readonly` CAPTURING_PHASE

CAPTURING_PHASE: 1

Inherited from BaseJQueryEventObject.CAPTURING_PHASE

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8764

### `Readonly` composed

composed: boolean

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

MDN Reference

Inherited from BaseJQueryEventObject.composed

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8678

### ctrlKey

ctrlKey: boolean

- Defined in node_modules/@types/jquery/legacy.d.ts:146

### currentTarget

currentTarget: Element

The current DOM element within the event bubbling phase.

#### See

`<a href="https://api.jquery.com/event.currentTarget/">https://api.jquery.com/event.currentTarget/</a>`

Inherited from BaseJQueryEventObject.currentTarget

- Defined in node_modules/@types/jquery/legacy.d.ts:54

### data

data: any

An optional object of data passed to an event method when the current executing handler is bound.

#### See

`<a href="https://api.jquery.com/event.data/">https://api.jquery.com/event.data/</a>`

Inherited from BaseJQueryEventObject.data

- Defined in node_modules/@types/jquery/legacy.d.ts:59

### `Readonly` defaultPrevented

defaultPrevented: boolean

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

MDN Reference

Inherited from BaseJQueryEventObject.defaultPrevented

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8690

### delegateTarget

delegateTarget: Element

The element where the currently-called jQuery event handler was attached.

#### See

`<a href="https://api.jquery.com/event.delegateTarget/">https://api.jquery.com/event.delegateTarget/</a>`

Inherited from BaseJQueryEventObject.delegateTarget

- Defined in node_modules/@types/jquery/legacy.d.ts:64

### `Readonly` eventPhase

eventPhase: number

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

MDN Reference

Inherited from BaseJQueryEventObject.eventPhase

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8696

### `Readonly` isTrusted

isTrusted: boolean

Returns true if event was dispatched by the user agent, and false otherwise.

MDN Reference

Inherited from BaseJQueryEventObject.isTrusted

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8702

### metaKey

metaKey: boolean

Indicates whether the META key was pressed when the event fired.

#### See

`<a href="https://api.jquery.com/event.metaKey/">https://api.jquery.com/event.metaKey/</a>`

Overrides BaseJQueryEventObject.metaKey

- Defined in node_modules/@types/jquery/legacy.d.ts:147

### namespace

namespace: string

The namespace specified when the event was triggered.

#### See

`<a href="https://api.jquery.com/event.namespace/">https://api.jquery.com/event.namespace/</a>`

Inherited from BaseJQueryEventObject.namespace

- Defined in node_modules/@types/jquery/legacy.d.ts:84

### `Readonly` NONE

NONE: 0

Inherited from BaseJQueryEventObject.NONE

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8763

### originalEvent

originalEvent: Event

The browser's original Event object.

#### See

`<a href="https://api.jquery.com/category/events/event-object/">https://api.jquery.com/category/events/event-object/</a>`

Inherited from BaseJQueryEventObject.originalEvent

- Defined in node_modules/@types/jquery/legacy.d.ts:89

### pageX

pageX: number

The mouse position relative to the left edge of the document.

#### See

`<a href="https://api.jquery.com/event.pageX/">https://api.jquery.com/event.pageX/</a>`

Inherited from BaseJQueryEventObject.pageX

- Defined in node_modules/@types/jquery/legacy.d.ts:124

### pageY

pageY: number

The mouse position relative to the top edge of the document.

#### See

`<a href="https://api.jquery.com/event.pageY/">https://api.jquery.com/event.pageY/</a>`

Inherited from BaseJQueryEventObject.pageY

- Defined in node_modules/@types/jquery/legacy.d.ts:129

### relatedTarget

relatedTarget: Element

The other DOM element involved in the event, if any.

#### See

`<a href="https://api.jquery.com/event.relatedTarget/">https://api.jquery.com/event.relatedTarget/</a>`

Inherited from BaseJQueryEventObject.relatedTarget

- Defined in node_modules/@types/jquery/legacy.d.ts:99

### result

result: any

The last value returned by an event handler that was triggered by this event, unless the value was undefined.

#### See

`<a href="https://api.jquery.com/event.result/">https://api.jquery.com/event.result/</a>`

Inherited from BaseJQueryEventObject.result

- Defined in node_modules/@types/jquery/legacy.d.ts:104

### returnValue

returnValue: boolean

#### Deprecated

MDN Reference

Inherited from BaseJQueryEventObject.returnValue

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8708

### shiftKey

shiftKey: boolean

- Defined in node_modules/@types/jquery/legacy.d.ts:148

### `Readonly` srcElement

srcElement: null | EventTarget

#### Deprecated

MDN Reference

Inherited from BaseJQueryEventObject.srcElement

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8714

### target

target: Element

The DOM element that initiated the event.

#### See

`<a href="https://api.jquery.com/event.target/">https://api.jquery.com/event.target/</a>`

Inherited from BaseJQueryEventObject.target

- Defined in node_modules/@types/jquery/legacy.d.ts:119

### `Readonly` timeStamp

timeStamp: number

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

MDN Reference

Inherited from BaseJQueryEventObject.timeStamp

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8726

### `Readonly` type

type: string

Returns the type of event, e.g. "click", "hashchange", or "submit".

MDN Reference

Inherited from BaseJQueryEventObject.type

- Defined in node_modules/typescript/lib/lib.dom.d.ts:8732

### which

which: number

For key or mouse events, this property indicates the specific key or button that was pressed.

#### See

`<a href="https://api.jquery.com/event.which/">https://api.jquery.com/event.which/</a>`

Inherited from BaseJQueryEventObject.which

- Defined in node_modules/@types/jquery/legacy.d.ts:134

## Methods

### composedPath

- composedPath(): EventTarget[]

  Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

  MDN Reference

  #### Returns EventTarget[]

  Inherited from BaseJQueryEventObject.composedPath

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:8738

### initEvent

- initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void

  #### Parameters

  - type: string
  - `Optional` bubbles: boolean
  - `Optional` cancelable: boolean

  #### Returns void

  #### Deprecated

  MDN Reference

  Inherited from BaseJQueryEventObject.initEvent

  - Defined in node_modules/typescript/lib/lib.dom.d.ts:8744

### isDefaultPrevented

- isDefaultPrevented(): boolean

  Returns whether event.preventDefault() was ever called on this event object.

  #### Returns boolean

  #### See

  `<a href="https://api.jquery.com/event.isDefaultPrevented/">https://api.jquery.com/event.isDefaultPrevented/</a>`

  Inherited from BaseJQueryEventObject.isDefaultPrevented

  - Defined in node_modules/@types/jquery/legacy.d.ts:69

### isImmediatePropagationStopped

- isImmediatePropagationStopped(): boolean

  Returns whether event.stopImmediatePropagation() was ever called on this event object.

  #### Returns boolean

  #### See

  `<a href="https://api.jquery.com/event.isImmediatePropagationStopped/">https://api.jquery.com/event.isImmediatePropagationStopped/</a>`

  Inherited from BaseJQueryEventObject.isImmediatePropagationStopped

  - Defined in node_modules/@types/jquery/legacy.d.ts:74

### isPropagationStopped

- isPropagationStopped(): boolean

  Returns whether event.stopPropagation() was ever called on this event object.

  #### Returns boolean

  #### See

  `<a href="https://api.jquery.com/event.isPropagationStopped/">https://api.jquery.com/event.isPropagationStopped/</a>`

  Inherited from BaseJQueryEventObject.isPropagationStopped

  - Defined in node_modules/@types/jquery/legacy.d.ts:79

### preventDefault

- preventDefault(): any

  If this method is called, the default action of the event will not be triggered.

  #### Returns any

  #### See

  `<a href="https://api.jquery.com/event.preventDefault/">https://api.jquery.com/event.preventDefault/</a>`

  Inherited from BaseJQueryEventObject.preventDefault

  - Defined in node_modules/@types/jquery/legacy.d.ts:94

### stopImmediatePropagation

- stopImmediatePropagation(): void

  Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.

  #### Returns void

  #### See

  `<a href="https://api.jquery.com/event.stopImmediatePropagation/">https://api.jquery.com/event.stopImmediatePropagation/</a>`

  Inherited from BaseJQueryEventObject.stopImmediatePropagation

  - Defined in node_modules/@types/jquery/legacy.d.ts:109

### stopPropagation

- stopPropagation(): void

  Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.

  #### Returns void

  #### See

  `<a href="https://api.jquery.com/event.stopPropagation/">https://api.jquery.com/event.stopPropagation/</a>`

  Inherited from BaseJQueryEventObject.stopPropagation

  - Defined in node_modules/@types/jquery/legacy.d.ts:114