Methods
Private fireEvent
- fireEvent(type: string, el: HTMLElement, options?: object): boolean
-
Parameters
-
type: string
-
el: HTMLElement
-
Default value options: object = {}
Returns boolean
Private getAbsoluteCoordinates
- getAbsoluteCoordinates(__namedParameters: object): Coordinates
-
Parameters
-
__namedParameters: object
Private getElementFromPoint
- getElementFromPoint(__namedParameters: object): Element
-
Parameters
-
__namedParameters: object
Returns Element
Private getMouseEventPayload
- getMouseEventPayload(coordinates: Coordinates): [HTMLElement, Partial<MouseEvent>] | null
-
Parameters
Returns [HTMLElement, Partial<MouseEvent>]
|
null
Private getScrollingElement
- getScrollingElement(): HTMLElement
Private isScrollable
- isScrollable(el: HTMLElement): boolean
-
Parameters
Returns boolean
Private isScrollableX
- isScrollableX(el: HTMLElement): boolean
-
Parameters
Returns boolean
Private isScrollableY
- isScrollableY(el: HTMLElement): boolean
-
Parameters
Returns boolean
keydown
- keydown(payload: Partial<KeyboardEvent>): any
-
Parameters
-
payload: Partial<KeyboardEvent>
Returns any
keypress
- keypress(event: Partial<KeyboardEvent>): void
-
Parameters
-
event: Partial<KeyboardEvent>
Returns void
keyup
- keyup(payload: object): any
rightClickTo
- rightClickTo(event: Partial<MouseEvent>): void
-
Parameters
-
event: Partial<MouseEvent>
Returns void
scroll
- scroll(__namedParameters: object): void
-
Parameters
-
__namedParameters: object
-
deltaX: number
-
deltaY: number
-
x: number
-
y: number
Returns void
Private setFocus
- setFocus(el: HTMLElement): void