Pular para o conteúdo principal

yo(selector).hide()

yo(selector).hide()

Hide the element. If it is not visible does nothing.

// Hide the element
yo('.myclass').hide();

yo(selector).hide(callback)

The callback function will fired once only after the "hide" action is ended.

yo('.myclass'.hide(function () {
// do something
}))