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

PostMeta

Extends:

flarum/Component~Component → PostMeta

The PostMeta component displays the time of a post, and when clicked, shows a dropdown containing more information about the post (number, full time, permalink).

Props

  • post

Method Summary

Public Methods
public

Get the permalink for the given post.

public

view(): *

Public Methods

Get the permalink for the given post.

Params:

NameTypeAttributeDescription
post Post

Return:

String

public view(): * source

Return:

*