Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 646 Bytes

File metadata and controls

19 lines (14 loc) · 646 Bytes
layout api_prebidjs
title pbjs.readConfig([string])
description
sidebarType 1

The readConfig function is used for retrieving the current configuration object or subscribing to configuration updates. When called with no parameters, the entire config object is returned. When called with a string parameter, a single configuration property matching that parameter is returned. The readConfig function has been introduced for safer use of the getConfig functionality, as it returns a clone.

/* Get config object */
config.readConfig()

/* Get debug config */
config.readConfig('debug')