Reference Source
import AffixedSidebar from 'flarum/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
public
public

view(vnode: *): *

Public Members

public boundOnresize: * source

Public Methods

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public onremove() source

public onresize() source

public view(vnode: *): * source

Params:

NameTypeAttributeDescription
vnode *

Return:

*