setDeviceType method

Note: STABLE.
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

Introduced Qlik Sense September 2018

Parameters

Name Type Description
deviceType string

String describing the device type. Can be:

  • auto
  • touch
  • desktop

Example

qlik.setDeviceType('desktop');

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?