Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DomController

Index

Constructors

constructor

Properties

Private cursor

cursor: Cursor = new Cursor()

Private el

el: Element

Methods

clickTo

dblClickTo

destroy

  • destroy(): void

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

Private getElementFromPoint

  • getElementFromPoint(__namedParameters: object): Element
  • Parameters

    • __namedParameters: object
      • x: number
      • y: number

    Returns Element

Private getMouseEventPayload

  • getMouseEventPayload(coordinates: Coordinates): [HTMLElement, Partial<MouseEvent>] | null
  • Parameters

    Returns [HTMLElement, Partial<MouseEvent>] | null

Private getScrollingElement

  • getScrollingElement(): HTMLElement

init

  • init(): void

Private isScrollable

  • isScrollable(el: HTMLElement): boolean
  • Parameters

    • el: HTMLElement

    Returns boolean

Private isScrollableX

  • isScrollableX(el: HTMLElement): boolean
  • Parameters

    • el: HTMLElement

    Returns boolean

Private isScrollableY

  • isScrollableY(el: HTMLElement): boolean
  • Parameters

    • el: HTMLElement

    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
  • Parameters

    • payload: object

    Returns any

mouseDownTo

mouseUpTo

moveCursorTo

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
  • Parameters

    • el: HTMLElement

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc