Skip to main content
JavaScript
// Open the panel to the default page
SmileUI.openPanel();

// Open the panel to the points products page
SmileUI.openPanel({ deep_link: 'points_products' });

This method opens the rewards panel to the specified page. If the rewards panel has not yet finished loading, it will open once loading has finished. Otherwise, the rewards panel will open immediately.

Parameters

options
object
An optional object with one or multiple of the following keys:
  • deep_link - Providing a supported deep link will cause the rewards panel to display the page corresponding to the deep link when opened.