w2sidebar.focus

Called when sidebar gets focus.
focus([event])
event object, DOM Event object
Returns undefined.

Description

This method is called when sidebar gets focus either by user clicking on it with the mouse or using tab key to. It is used internally, but you can use it to emulate getting focus. This method emits .onFocus event.
If you have sidebar defined in the following way: You can click on the node:

User Comments

comments powered by Disqus