show( )

Shows the element and sets its hidden property to false, using an effect if specified.

The show() function shows the element and returns a Promise that is resolved when the effect is complete and the element's hidden property has been set to false.

You can optionally apply an effect when showing the element by providing an effectName value. You can also customize the effect by providing the optional effectOptions object.

This table shows possible effectName values and their corresponding names in the editor:

Effect Name ValueEditor Animation Name


  • In Editor X, show () will not make an element visible for a given breakpoint if the element has been set to "Don't Display" for that breakpoint. Calling show() will however, change the hidden property of the element to false.
  • It is recommended not to mix show and hide with "Don't Display" in Editor X.
Method Declaration
Method Parameters

The name of the effect to play when showing the item.


The effect's options.

Was this helpful?