Shows or hides the given element with a smooth fading transition.
IMPORTANT: When constructed, it will hide the element as a form of initialization.
To use with auto-widgets (HTML API) as part of a trigger specification:
<button id="btn">Show/hide</button><div data-lisn-on-click="@show +target=#btn"></div> Copy
<button id="btn">Show/hide</button><div data-lisn-on-click="@show +target=#btn"></div>
Static
Readonly
Shows the element with a smooth fade in transition.
Shows the element if it is hidden, hides it otherwise.
Hides the element with a smooth fade out transition.
Shows or hides the given element with a smooth fading transition.
IMPORTANT: When constructed, it will hide the element as a form of initialization.
To use with auto-widgets (HTML API) as part of a trigger specification:
Example