Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "signal/SignalDOM"

Index

Type aliases

CoordinatePair

CoordinatePair: object

Type declaration

  • x: number
  • y: number

DimensionPair

DimensionPair: object

Type declaration

  • h: number
  • w: number

Functions

Const animationFrame

Const keyPressed

  • keyPressed(keyCode: number): Signal<boolean>
  • Creates a signal which will be true when the key matching the given key code is pressed, and false when it's released.

    Parameters

    • keyCode: number

    Returns Signal<boolean>

Const mouseButton

  • mouseButton(button: number): Signal<boolean>
  • Creates a signal which will be true when the given mouse button is pressed, and false when it's released.

    Parameters

    • button: number

    Returns Signal<boolean>

Const mouseButtonPressed

  • Creates a signal which will be true when the given mouse button is pressed, and false when it's released. Note: in IE8 and earlier you need to use MouseIE8MiddleButton if you want to query the middle button.

    Parameters

    Returns Signal<boolean>

Const mousePos

Const tap

  • A signal which will be true when at least one finger is touching the touch device, and false otherwise.

    Returns Signal<boolean>

Const touch

Const windowDimensions

Generated using TypeDoc