Feedback


Description

This JS API provides you access to the feedback tool. Access methods on this object:

productFruits.api.feedback

 

Methods

showModal(position, onClose)

Shows the feedback popup modal. It has two optional parameters. Use position parameter with topleftbottom or right properties to position the widget on a custom place. You have to use CSS units, i.e. left: '50px'.

The second parameter is a callback function that is called when the widget is closing.