ui

ui

Properties:
Name Type Description
Initialized Boolean

Initialized Boolean to determine if aim.core has already initialized

mouseOutput Boolean

Mouse position output display

previousX Number

Previous Mouse X Position, required to determine the swipe direction for the touch events

previousY Number

Previous Mouse Y Position, required to determine the swipe direction for the touch events

mouseX Number

The current mouse X position

mouseY Number

The current mouse Y position

hideContextMenu Boolean

Defines whether the browser context menu should be hidden

overrideDragStart Boolean

Defines if the default dragstart should be overriden

cancelDefaultGesture Boolean

Defines whether default gestures should be cancelled

captureMousePosition Boolean

Defines whether the mouse position onscreen should be captured

requestAnimeSpeed Number

Default Animation speed

This is the core module used by all other modules, specifically the ui components as several require the mouse position

Methods

(protected, static) destroyComponent(objRef, objName)

Destroy a binding between an aim.$ object and a component object

Parameters:
Name Type Description
objRef Object

The reference object constructor function

objName String

The reference object instance variable name

(protected, static) getMouseXY(evnt)

Get the current client mouse X and Y positions

Parameters:
Name Type Description
evnt object

The window event object

(protected, static) init()

Initialize the AIM Object default properties, events and functionality