Do we have events for the navbar-toggle
that appears when we are on the smaller screen?
For instance,
$(\'#myDropdown\'
Using jquery you can test if something is visible using .is(':visible')
. http://api.jquery.com/visible-selector/
If you need its visibility to trigger something else you could look at implementing the jQuery Mutate plugin. This effectively monitors an element for a change in a property and then fires an event. http://www.jqui.net/jquery-projects/jquery-mutate-official/