Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

SidebarFactory

jiajunGit edited this page Jul 24, 2017 · 7 revisions

Description

SidebarFactory is the UI component factory that constructs the side bar container containing the header, selected labels container, search panel and group label containers manufactured by their own UI component factories.

Preview of the empty sidebar that it creates

Events subscribed

  • search-bar/apply-selected-labels - reacts by hiding the sidebar
  • search-bar/escape-key-triggered - reacts by hiding the sidebar

Overview of SidebarFactory

  • You can create a DOM sidebar element using the create() function.
  • Initialize the sidebar state using the initializeSideBarState() function. If the sidebars has not been initialized, it will not work.
Clone this wiki locally