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

DiscussionHero

Extends:

src/common/Component.js~Component → DiscussionHero

The DiscussionHero component displays the hero on a discussion page.

attrs

  • discussion

Method Summary

Public Methods
public

Build an item list for the contents of the discussion hero.

public

view(): *

Public Methods

public items(): ItemList source

Build an item list for the contents of the discussion hero.

Return:

ItemList

public view(): * source

Return:

*