Skip to main content
Smile.io Developer Documentation home page
Search...
⌘K
Ask AI
Changelog
Install Smile
Install Smile
Search...
Navigation
Smile UI object
Close panel
Home
Guides
API Reference
JavaScript SDK
Smile.js
Introduction
Including Smile.js
Initializing Smile.js
Smile object
Create an activity
Format points
Listen for events
Load a points product
Load all points products
Load all reward fulfillments
Load all customer points products
Purchase a points product
Reload the customer
Smile UI object
Close panel
Deep links
Listen for events
Open panel
Other objects
Activity object
Customer object
Customer points product object
Points product object
Points purchase object
Reward fulfillment object
Reward object
VIP tier object
JavaScript
Copy
Ask AI
SmileUI
.
closePanel
();
Smile UI object
Close panel
Copy page
SmileUI.closePanel()
Copy page
JavaScript
Copy
Ask AI
SmileUI
.
closePanel
();
This method closes the rewards panel immediately. If the rewards panel is already closed, no change will occur.
Reload the customer
Previous
Deep links
Next
⌘I