Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This API retrieves the control options set by a Profound.js module.

Example

var controlOptions = pjs.getControlOptions();
var debugMode = controlOptions.debug;
if (debugMode) {
  console.log(pjs.getFieldsArr()[0]);  // dump local scope fields to the console
}
  • No labels