Skip to main content Skip to complementary content

setDeviceType method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

qlik.setDeviceType(deviceType)

Sets device type, which modifies the UI accordingly. The device type is automatically detected if it is not manually set.

Version history

Version history
Version state Details
Introduced Qlik Sense September 2018

Parameters

deviceType

Type: String

String describing the device type.

Can be:

  • auto
  • touch
  • desktop

Example

qlik.setDeviceType('desktop');