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

NotificationsDropdown

Extends:

flarum/components/Dropdown~Dropdown → NotificationsDropdown

Static Method Summary

Static Public Methods
public static

initProps(props: *)

Member Summary

Public Members
public

list: *

public

Whether or not the notifications dropdown is visible.

Method Summary

Public Methods
public

getButton(): *

public
public

getMenu(): *

public
public
public
public

init()

public

menuClick(e: *)

public

Static Public Methods

public static initProps(props: *) source

Params:

NameTypeAttributeDescription
props *

Public Members

public list: * source

public showing: Boolean source

Whether or not the notifications dropdown is visible.

Public Methods

public getButton(): * source

Return:

*

public getButtonContent(): undefined[] source

Return:

undefined[]

public getMenu(): * source

Return:

*

public getNewCount(): * source

Return:

*

public getUnreadCount(): * source

Return:

*

public goToRoute() source

public init() source

public menuClick(e: *) source

Params:

NameTypeAttributeDescription
e *

public onclick() source