Transition: Showing and Hiding with Transitions
This example shows how to show and hide Node instances.
lorem ipsum dolor sit
Showing a Node
The view of a Node instance can be transitioned by passing true
to the show
and hide
methods.
Y.one('.demo').show(true);
Y.one('.demo').show(true);
Hiding a Node
The opposite of show
, the hide
method sets the node's CSS display
property to none
.
Y.one('.demo').hide(true);
Y.one('.demo').hide(true);