Reference Source
import HeaderPrimary from 'flarum/admin/components/HeaderPrimary'
public class | source

HeaderPrimary

Extends:

src/common/Component.js~Component → HeaderPrimary

The HeaderPrimary component displays primary header controls. On the default skin, these are shown just to the right of the forum title.

Method Summary

Public Methods
public

config(isInitialized: *, context: *)

public

Build an item list for the controls.

public

view(): *

Public Methods

public config(isInitialized: *, context: *) source

Params:

NameTypeAttributeDescription
isInitialized *
context *

public items(): ItemList source

Build an item list for the controls.

Return:

ItemList

public view(): * source

Return:

*