Class Device

A simple class used to detect if the device have a touch screen

Source : file core/lib/Device.js at line 33

Constructor

new Device ( )

The constructor

Source : file core/lib/Device.js at line 55

Public getters and setters

readonly get isTouch : Boolean

The touch status. True when the device have a touch screen

Source : file core/lib/Device.js at line 66

readonly get screenAvailable : Object

Get the width and height avaiable for menus and dialogs

Source : file core/lib/Device.js at line 73

Private properties

static #isTouch : Boolean

A flag withe touch status

Source : file core/lib/Device.js at line 40

Private methods

static #touchStartEL ( )

A touchstart event listener

Source : file core/lib/Device.js at line 46