Class: ShowHideManager

Kekule.Widget. 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
widget Kekule.Widget.BaseWidget
callback function
caller Kekule.Widget.BaseWidget
hideType, Int value from {@link Kekule.Widget.ShowHideType).
useVisible Bool If true CSS visible property will be set to hidden finally to hide widget, otherwise display: none will be used.
extraOptions Hash 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. }
Source:

show(widget, caller, callback, showType,, extraOptions)

Show the widget. When the show process is done, callback() will be called.
Parameters:
Name Type Description
widget Kekule.Widget.BaseWidget
caller Kekule.Widget.BaseWidget Who calls the show method and make this widget visible.
callback function
showType, Int value from {@link Kekule.Widget.ShowHideType).
extraOptions Hash Extra options passed to transition executor.
Source: