Part of the new CF11 mobile development features. This tag is similar to cfprocessingdirective and acts as a compiler directive to include plugins for various features (device detection and device API). You can use this tag to load all the required device detection plugins.
<cfclientsettings enableDeviceAPI = "true|false" detectDevice = "true|false" deviceTimeout = Number >
cfclientsettings(enableDeviceAPI = "true|false", detectDevice = "true|false", deviceTimeout = Number);
Name | Type | Required | Default | Description |
---|---|---|---|---|
enableDeviceAPI | boolean | No | false | Enable/disable the device API |
detectDevice | boolean | No | false | Enable/disable the device detection plugin. |
deviceTimeout | numeric | No | 10 | The timeout for loading the plugins (in seconds). |