Newer Version Available

This content describes an older version of this product. View Latest

Custom Minimized Component Code Samples

The following code sample contains examples of the component, controller, and helper code for a custom minimized embedded component using Aura.

This component:

  • Uses Aura to create an ui:button component, and binds the button click to maximize the embedded component
  • Uses an initialize function that registers the generic event handler for minimized events that updates the message depending on the event name
  • Includes optional CSS styling

Component Code

Controller Code

Helper Code

CSS Code