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

DiscussionRenamedNotification

Extends:

src/common/Component.js~ComponentNotification → DiscussionRenamedNotification

The DiscussionRenamedNotification component displays a notification which indicates that a discussion has had its title changed.

Attrs

  • All of the attrs for Notification

Method Summary

Public Methods
public

content(): *

public

href(): *

public

Inherited Summary

From class Notification
public abstract

content(): VirtualElement

Get the content of the notification.

public abstract

excerpt(): VirtualElement

Get the excerpt of the notification.

public abstract

Get the URL that the notification should link to.

public abstract

Get the name of the icon that should be displayed in the notification.

public

Mark the notification as read.

public

view(): *

Public Methods

public content(): * source

Get the content of the notification.

Override:

Notification#content

Return:

*

public href(): * source

Get the URL that the notification should link to.

Override:

Notification#href

Return:

*

public icon(): string source

Get the name of the icon that should be displayed in the notification.

Override:

Notification#icon

Return:

string