views/side ================= .. js:class:: SidebarView(args, viewArgs, baseArgs) :extends: BaseView The view used for the sidebar. Every view is a singleton :param Object args: An Object containing any parameters for the specific View. A subset of it is usually used to initialize the state of the view. .. js:attribute:: toggle read-only :type: jQuery The VueComponent of the toggle. .. js:attribute:: $content read-only :type: jQuery The jQuery object containing the node that is holding the views content. .. js:function:: showSidebar() Will show the whole sidebar, same as setting *vispa.sidebar.active = true*. .. js:function:: hide() Will hide the whole sidebar, same as setting *vispa.sidebar.active = false*. .. js:function:: show() Will show the view, same as putting the toggle to state *selected = true*. It also calls :js:func:`show` of :js:class:`BaseView`. .. js:function:: hide() Will hide the view, same as putting the toggle to state *selected = false*. It also calls :js:func:`hide` of :js:class:`BaseView`. .. js:function:: updatePopovers() Update popovers. Shortcut for sidebar.updatePopovers.