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

PostUser

Extends:

src/common/Component.js~Component → PostUser

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

Attrs

  • post

Method Summary

Public Methods
public

Hide the user card.

public

oncreate(vnode: *)

public

Show the user card.

public

view(): *

Public Methods

public hideCard() source

Hide the user card.

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public showCard() source

Show the user card.

public view(): * source

Return:

*