Temporarily shows a hidden element.
The element will be hidden when the preview ends.
This preview shows a hidden #spinner element while the request is loading:
#spinner
up.preview('show-spinner', function(preview) { preview.show('#spinner') })
The element or selector to change.
If omitted, the targeted fragment will be changed.