The Pane class manages the page's discussion list sidepane. The pane is a part of the content view (DiscussionPage component), but its visibility is determined by CSS classes applied to the outer page element. This class manages the application of those CSS classes.

Hierarchy

  • Pane

Constructors

Properties

$element: JQueryStatic

The page element.

active: boolean

Whether or not the pane is currently exists.

hideTimeout: undefined | Timeout
pinned: boolean

Whether or not the pane is currently pinned.

pinnedKey: string

The localStorage key to store the pane's pinned state with.

showing: boolean

Whether or not the pane is currently showing, or is hidden off the edge of the screen.

Methods

  • Begin a timeout to hide the pane, which can be cancelled by showing the pane.

    Returns void

Generated using TypeDoc v0.23.24