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

DiscussionHero

Extends:

flarum/Component~Component → DiscussionHero

The DiscussionHero component displays the hero on a discussion page.

Props

  • 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:

*