Skip to content
English
  • There are no suggestions because the search field is empty.

Control the Slideout Widget via JavaScript API

This article covers the JavaScript API used to programmatically control the RoofQuote PRO™ Slideout Widget.

Requirements:

  • Roof Quote PRO™ active subscription
  • Slideout Widget script installed in the <head> of your page

Overview:

The Slideout Widget exposes a JavaScript API on the window object as RoofQuotePro. You can use it to control the widget from your own scripts.

Available Methods:

RoofQuotePro.open()
RoofQuotePro.close()
RoofQuotePro.toggle()