Constructs an instance of UFShowable
Element to show and hide.
Static
Readonly
HideEvent fired when hide is done.
Static
Readonly
HideEvent fired when hide is started.
Static
Readonly
ShowEvent fired when show is done.
Static
Readonly
ShowEvent fired when show is started.
Hides the showable. At the start it fires HideStartedEvent event and once the hiding is done it fires a HideDoneEvent event.
Protected
performHides the element. The default implementation uses UFHtml.fadeOut with 500ms.
Protected
performShows the element. The default implementation uses UFHtml.fadeIn with 500ms.
Shows the showable. At the start it fires ShowStartedEvent event and once the showing is done it fires a ShowDoneEvent event.
UFShowable can be used to add show and hide transition support to an object.
It fires the following events: ShowStartedEvent, ShowDoneEvent, HideStartedEvent, HideDoneEvent.
For default transition UFShowable uses fade; this can be changed by overriding the following protected methods: performShow and performHide.