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

AffixedSidebar

Extends:

src/common/Component.js~Component → AffixedSidebar

The AffixedSidebar component uses Bootstrap's "affix" plugin to keep a sidebar navigation at the top of the viewport when scrolling.

Children

The component must wrap an element that itself wraps an

    element, which will be "affixed".

See:

Member Summary

Public Members
public

Method Summary

Public Methods
public

oncreate(vnode: *)

public

onremove(vnode: *)

public
public

view(vnode: *): *

Public Members

public boundOnresize: * source

Public Methods

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public onremove(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public onresize() source

public view(vnode: *): * source

Params:

NameTypeAttributeDescription
vnode *

Return:

*