views/side

class SidebarView(args, viewArgs, baseArgs)
Extends:BaseView

The view used for the sidebar. Every view is a singleton

Arguments:
  • args (Object) – An Object containing any parameters for the specific View. A subset of it is usually used to initialize the state of the view.
read-onlytoggle
Type:jQuery

The VueComponent of the toggle.

read-only$content
Type:jQuery

The jQuery object containing the node that is holding the views content.

showSidebar()

Will show the whole sidebar, same as setting vispa.sidebar.active = true.

hide()

Will hide the whole sidebar, same as setting vispa.sidebar.active = false.

show()

Will show the view, same as putting the toggle to state selected = true. It also calls show() of BaseView().

hide()

Will hide the view, same as putting the toggle to state selected = false. It also calls hide() of BaseView().

updatePopovers()

Update popovers. Shortcut for sidebar.updatePopovers.