Interface IEvent

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public angle?: number

[Property] (Number)

optional public config?: any

[Config Option] (Object)

optional public direction?: number

[Property] (Number)

optional public distance?: number

[Property] (Number)

optional public duration?: number

[Property] (Number)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public mixins?: any

[Config Option] (Object)

optional public pageX?: number

[Property] (Number)

optional public pageY?: number

[Property] (Number)

optional public platformConfig?: any

[Config Option] (Object)

optional public rotation?: number

[Property] (Number)

optional public scale?: number

[Property] (Number)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public target?: HTMLElement

[Property] (HTMLElement)

optional public uses?: Array<string>

[Config Option] (String[])

Methods

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public destroy()

[Method]

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getPageX(): number

[Method] Gets the x coordinate of the event

Returns

number

Number

optional public getPageY(): number

[Method] Gets the y coordinate of the event

Returns

number

Number

optional public getTarget(selector?: string, maxDepth?: any, returnEl?: boolean): HTMLElement

[Method] Gets the target for the event

Parameters

  • selector?: string optional

    String A simple selector to filter the target or look for an ancestor of the target

  • maxDepth?: any optional

    Number/Mixed The max depth to search as a number or element (defaults to 10 || document.body)

  • returnEl?: boolean optional

    Boolean true to return a Ext.Element object instead of DOM node.

Returns

HTMLElement

HTMLElement

optional public getTime(): any

[Method] Returns the time of the event

Returns

any

Date

optional public getXY(): Array<any>

[Method] Gets the X and Y coordinates of the event

Returns

Array<any>

Array

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public preventDefault()

[Method] Prevents the browsers default handling of the event

optional public stopEvent(): IEvent

[Method] Stop the event preventDefault and stopPropagation

Returns

IEvent

Ext.event.Event this

optional public stopPropagation(): IEvent

[Method] Cancels bubbling of the event

Returns

IEvent

Ext.event.Event this