Reference Source
import DiscussionListPane from 'flarum/forum/components/DiscussionListPane'
public class | source

DiscussionListPane

Extends:

src/common/Component.js~Component → DiscussionListPane

The DiscussionListPane component displays the list of previously viewed discussions in a panel that can be displayed by moving the mouse to the left edge of the screen, where it can also be pinned in place.

Attrs

  • state A DiscussionListState object that represents the discussion lists's state.

Method Summary

Public Methods
public

Are we on a device that's larger than we consider "mobile"?

public

oncreate(vnode: *)

public

onremove(vnode: *)

public

view(): *

Public Methods

public enoughSpace(): boolean source

Are we on a device that's larger than we consider "mobile"?

Return:

boolean

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public onremove(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public view(): * source

Return:

*