Pane
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.
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
hideTimeout: * |
Protected Members | ||
protected |
$element: jQuery The page element. |
|
protected |
Whether or not the pane is currently exists. |
|
protected |
Whether or not the pane is currently pinned. |
|
protected |
The localStorage key to store the pane's pinned state with. |
|
protected |
Whether or not the pane is currently showing, or is hidden off the edge of the screen. |
Method Summary
Public Methods | ||
public |
disable() Disable the pane. |
|
public |
enable() Enable the pane. |
|
public |
hide() Hide the pane. |
|
public |
Begin a timeout to hide the pane, which can be cancelled by showing the pane. |
|
public |
show() Show the pane. |
|
public |
Toggle whether or not the pane is pinned. |
Protected Methods | ||
protected |
render() Apply the appropriate CSS classes to the page element. |
Public Constructors
public constructor() source
Public Methods
public onmouseleave() source
Begin a timeout to hide the pane, which can be cancelled by showing the pane.