Static
fireStatic
inIFrameStatic
scrollUpdates the parent windows scroll position to show the IFrame at the top left.
Can be adjusted by offsetX & offsetY.
Only adjusts the scroll position of the window itself and therefore won't work if the IFrame is embedded inside another element with a scrollbar...
Optional
offsetX: numberOptional
offsetY: numberStatic
sendStatic
setChanges the width and/or height of the IFrame and/or scroll position of the parent page window.
Won't do anything if we are not inside an IFrame.
Sends an "silent" error to raygun if we are inside an IFrame but the CbnPlugin is not correctly installed on
the parent site.
Optional
width: numberIf not given or 0, the width is not changed
Optional
height: numberIf not given or 0, the height is not changed
Optional
scrollToX: numberNew horizontal scroll position of the parent page window
Optional
scrollToY: numberNew vertical scroll position of the parent page window
Generated using TypeDoc
Forwards event data to parent page.
CbnPlugin
retrieves this event data and pushes it directly into the "data layer", which can then be interpreted by the Google Tag Manager.If the configurator is not embedded in an IFrame, the event is pushed directly into the data layer of the current window.