FitMetrix Developer Documentation

JSDoc reference

Class Fb.FitMetrix

Method Attributes Method Name and Description
<static>  
Fb.FitMetrix.GetInstance(pConfig)
 
Remove FitMetrix

Method Detail

<static> {Object} Fb.FitMetrix.GetInstance(pConfig)
Example:
FitMetrix = Fb.FitMetrix.GetInstance( { FitMetrix: { container: '#myCustomContainer' } } );
Parameters:
{JSON} pConfig
Global config used by the class and referenced classes
{JSON} pConfig.FitMetrix
Local config used by the class only
{String|DOM Element} pConfig.FitMetrix.container
DOM element or element id where the product has to be
{String} pConfig.FitMetrix.customervalue
Web user ID
{Function} pConfig.FitMetrix.finalizecallback Optional, Default: null
Callback called on click on finish
{String} pConfig.FitMetrix.language Optional, Default: 'en'
Application language
Returns:
{Object} Fb.FitMetrix instance

Remove()
Remove FitMetrix