w2sidebar.hasFocus

Indicates if sidebar has keyboard focus. Read Only.
Boolean, default = false
You can navigate sidebar with keyboard using arrow keys. You can expand and collapse nodes with enter or right/left arrow keys, but it will only work if sidebar has focus.
If you define sidebar in the following way: You can find if sidebar has focus by:

User Comments

comments powered by Disqus