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

PostEdited

Extends:

src/common/Component.js~Component → PostEdited

The PostEdited component displays information about when and by whom a post was edited.

Attrs

  • post

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

oncreate(vnode: *)

public

oninit(vnode: *)

public
public
public

view(): *

Public Members

public oldEditedInfo: * source

public shouldUpdateTooltip: boolean source

Public Methods

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public oninit(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public onupdate() source

public rebuildTooltip() source

public view(): * source

Return:

*