Page tree
Skip to end of metadata
Go to start of metadata

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
}