Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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

Example

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