Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Constructors

constructor

  • new Pane(element: any): Pane

Properties

Protected $element

$element: JQueryStatic

The page element.

Protected active

active: boolean

Whether or not the pane is currently exists.

hideTimeout

hideTimeout: undefined | Timeout

Protected pinned

pinned: boolean

Whether or not the pane is currently pinned.

Protected pinnedKey

pinnedKey: string

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

Protected showing

showing: boolean

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

Methods

disable

  • disable(): void

enable

  • enable(): void

hide

  • hide(): void

onmouseleave

  • onmouseleave(): void

Protected render

  • render(): void

show

  • show(): void

togglePinned

  • togglePinned(): void

Generated using TypeDoc version 0.22.10