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');

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!