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

PostUser

Extends:

flarum/Component~Component → PostUser

The PostUser component shows the avatar and username of a post's author.

Props

  • post

Member Summary

Public Members
public

Whether or not the user hover card is visible.

Method Summary

Public Methods
public

config(isInitialized: *)

public

Hide the user card.

public

init()

public

Show the user card.

public

view(): *

Public Members

public cardVisible: Boolean source

Whether or not the user hover card is visible.

Public Methods

public config(isInitialized: *) source

Params:

NameTypeAttributeDescription
isInitialized *

public hideCard() source

Hide the user card.

public init() source

public showCard() source

Show the user card.

public view(): * source

Return:

*