Search...
expandIcon( )
Expands the slideshow button icon and sets its iconCollapsed
property to false
.
Description
The expandIcon()
function returns a Promise that resolves when the icon of a slideshow button is expanded.
Syntax
function expandIcon(): Promise<void>
expandIcon Parameters
This function does not take any parameters.
Returns
Fulfilled - when the element's iconCollapsed
property is set to false
.
Return Type:
Promise<void>
Related Content:
Was this helpful?
Expand a slideshow button icon
Copy Code
1$w('#mySlideshowButton').expandIcon();
Expand the icon when a site visitor hovers over the slideshow button
Copy Code
1$w('#mySlideshowButton').onMouseIn((event) => {2 $w("#mySlideshowButton").expandIcon();3});