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

HeaderPrimary

Extends:

flarum/Component~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

Build an item list for the controls.

public

view(): *

Public Methods

public items(): ItemList source

Build an item list for the controls.

Return:

ItemList

public view(): * source

Return:

*