JavaScript DeliveryContext API (ai.dc)

To use Delivery Context Properties in client-side JavaScript, enable the API in conf/config.xml with:

<config>
  <js-api>
    <dc />
  </js-api>
</config>

An example for the usage of the JavaScript DC API:

var asyncSupport = ai.dc.getProperty('html/attribute/async');

See the JavaScript Delivery Context API for Details