Expand Widget with an Image

334
2
Jump to solution
05-23-2021 02:43 PM
YogaYoda
New Contributor II

Is it possible to set the Expand widget to display an image content rather than another widget? I have a PNG that I would like to display when the expand widget is expanded but can't figure how to set the content property to do this. Any assistance that can point me in the right direction would be greatly appreciated.

 

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor II
2 Replies
ReneRubalcava
Frequent Contributor II

The content property for Expand can take any DOM element.

https://codepen.io/odoe/pen/eYvWMGE?editors=0010

YogaYoda
New Contributor II

Thank you, I appreciate the assistance this was enormously helpful!

0 Kudos