popup-dispatcher
Incapsulation of mouse and time wathchers to hide popup controls or windows on web page
SYNOPSIS
Componentstatic defaultProps =items: 'item1' 'item2' 'item3'{superpropsthisstate =opened: falsecurrent: '...'thisdisp =thisdisp}{this}{thisthisdisp}{if thisstateopened thisdispstartreturn<div><a ...thisdisp onClick=thishandleClick><span>thisstatecurrent</span></a><ul ...thisdisp>thispropsitems</ul></div>}
Methods
start()
- enablestop()
- disablewatch()
- begin watch timer, called fromonMouseOut()
returned byprops()
unwatch()
- cancel watch timer, called fromonMouseOver()
returned byprops()
props()
- props filter for component to watch