Documentation

jqxResponse

jqxResponse is a plug-in which provides information about the OS, Browser, View Port, Device Type and common features of the Device like Touch Support, Size, SVG, Canvas and VML support, etc. jqxResponse also enables you to listen for Window(ViewPort) resizes and provides cross-browser compatible triggering for Mouse and Touch events.

The jqxResponse plugin requires the following files:

Create a new instance:

var response = new $.jqx.response();

Example

Please, find below information about your OS, Device, Browser and ViewPort:

Show Code

OS:
Platform: Linux x86_64
Browser: Webkit 537.36, Access name: webkit
Device Type: Phone
Device Width: 1280, Height: 720
Device AvailWidth: 1280, AvailHeight: 720
Supports Touch Events:false, VML:false, SVG: true, Canvas:true
Viewport Width: 1280, Height: 720
Document Width: 1280, Height: 720
Pointer Down: 0, 0
Pointer Down: 0, 0
Pointer Down: 0, 0

Properties

Name Description
browser Returns information about the Browser.
device Returns information about the Device.
document Returns information about the document.
destroy Destroys the plug-in.
resize Callback function or functions called when the browser's window is resized.
isHidden Checks whether a HTML Element is hidden.
inViewPort Checks whether a HTML Element is in the view port.
os Returns information about the OS.
pointerDown Event handler for mouse and touch events that works across browsers. "pointerDown" automatically handles the "mousedown", "MSPointerDown" and "touchstart" events on an element and calls a callback function with 3 parameters(original event, pointer position and pointer type).
pointerMove Event handler for mouse and touch events that works across browsers. "pointerMove" automatically handles the "mousemove", "MSPointerMove" and "touchmove" events on an element and calls a callback function with 3 parameters(original event, pointer position and pointer type).
pointerUp Event handler for mouse and touch events that works across browsers. "pointerUp" automatically handles the "mouseup", "MSPointerUp" and "touchend" events on an element and calls a callback function with 3 parameters(original event, pointer position and pointer type).
refresh Refreshes the plug-in properties.
responsive Responsive Grid System.
scroll Returns information about the Scrollbars position.
viewPort Returns information about the view port.