Methods
Frontnow Advisor provides a range of Actions that allow you to customize the functionality of the widget and provide personalized recommendations and guidance to your website visitors.
open()
Opens the Frontnow Advisor widget.
Example usage:
advisor.open();
close()
Closes the Frontnow Advisor widget.
Example usage:
advisor.close();
hideLauncher()
Hides the Frontnow Advisor launcher icon.
Example usage:
advisor.hideLauncher();
showLauncher()
Shows the Frontnow Advisor launcher icon.
Example usage:
advisor.showLauncher();
goto(path)
Changes the page of the Frontnow Advisor to a cached page.
Example usage:
advisor.goto("path/to/page");
prompt(prompt)
Fills the input field of the Frontnow Advisor with the provided question and requests the answer. This question will be run dynamically, so it will take longer than providing the cached path to a page with the goto
method.
Example usage:
advisor.prompt("This question will be answered dynamically?");
destroy()
Removes all instances and elements of the Frontnow Advisor on the website.
Example usage:
advisor.destroy()
These Actions provide developers with fine-grained control over the functionality and appearance of Frontnow Advisor. By using these Actions, you can create a custom experience for your website visitors that is tailored to your specific needs and requirements.
Was this helpful?