Customize the Minimized Snap-In with Lightning Components
Take full control of the user interface for the snap-in when it's minimized. The standard snap-in displays a logo and brief messaging and changes color when there's a new message. Now you can customize own how the minimized snap-in looks and acts for various chat events using Lightning components.
Where: This change applies to Lightning Experience and Salesforce Classic in Professional, Enterprise, Unlimited, and Developer editions.
How: In the developer console, create a Lightning component that implements the new lightningsnapin:minimizedUI interface. Then use the aura methods on the new lightningsnapin:minimizedAPI component to create your minimized component.
- registerEventHandler()— Passes your own handler function that’s called on each event.
- maximize()— Maximizes the Snap-ins Chat window from your minimized user interface component.