Skip to main content
Smile.io Developer Documentation home page
Search...
⌘K
Ask AI
Changelog
Install Smile
Install Smile
Search...
Navigation
Panel actions
Close panel
Home
Guides
API Reference
Libraries & SDKs
Smile UI
Introduction
Including Smile UI
Initializing Smile UI
Customer tokens
Panel actions
Open panel
Close panel
Deep links
Panel events
Loaded event
Ready method
Deprecated
Customer ready method
Smile methods
Object references
JavaScript
Copy
Ask AI
SmileUI
.
closePanel
();
Panel actions
Close panel
Copy page
SmileUI.closePanel()
Copy page
JavaScript
Copy
Ask AI
SmileUI
.
closePanel
();
This method closes the loyalty panel immediately. If the loyalty panel is already closed, no change will occur.
Open panel
Previous
Deep links
Next
⌘I
Assistant
Responses are generated using AI and may contain mistakes.