melonjs
    Preparing search index...

    Namespace device

    Variables

    accelerationX
    accelerationY
    accelerationZ
    alpha
    autoFocus
    beta
    devicePixelRatio
    gamma
    hasAccelerometer
    hasDeviceOrientation
    hasFullscreenSupport
    hasHTML5Audio
    hasPointerLockSupport
    hasVideo
    hasWebAudio
    isMobile
    language
    localStorage
    maxTouchPoints
    nativeBase64
    offscreenCanvas
    platform
    pointerEvent
    screenOrientation
    sound
    touch
    touchEvent
    wheel

    Functions

    enableSwipe
    exitFullscreen
    focus
    getElement
    getElementBounds
    getParentBounds
    getParentElement
    getScreenOrientation
    getStorage
    hasVideoFormat
    isFullscreen
    isLandscape
    isPortrait
    isWebGLSupported
    lockOrientation
    onReady
    requestFullscreen
    unlockOrientation
    unwatchAccelerometer
    unwatchDeviceOrientation
    vibrate
    watchAccelerometer
    watchDeviceOrientation