new ShowHideManager()
Methods
- 
    
        
hide(widget, callback, caller, hideType,, useVisible, extraOptions)
 - 
    
    Hide the widget. When the hide process is done, callback() will be called.
Parameters:
Name Type Description widgetKekule.Widget.BaseWidget callbackfunction callerKekule.Widget.BaseWidget hideType,Int value from {@link Kekule.Widget.ShowHideType). useVisibleBool If true CSS visible property will be set to hidden finally to hide widget, otherwise display: none will be used. extraOptionsHash Extra options passed to transition executor, can include special field: { useVisible: If true CSS visible property will be set to hidden finally to hide widget, otherwise display: none will be used. callerPageRect: Sometimes caller widget is hidden and the ref rect can not be calculated directly from caller, if so, this value ,may be used by transition executor. }  - 
    
        
show(widget, caller, callback, showType,, extraOptions)
 - 
    
    Show the widget. When the show process is done, callback() will be called.
Parameters:
Name Type Description widgetKekule.Widget.BaseWidget callerKekule.Widget.BaseWidget Who calls the show method and make this widget visible. callbackfunction showType,Int value from {@link Kekule.Widget.ShowHideType). extraOptionsHash Extra options passed to transition executor.