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

NotificationsDropdown

Extends:

src/common/Component.js~ComponentDropdown → NotificationsDropdown

Static Method Summary

Static Public Methods
public static

initAttrs(attrs: *)

Method Summary

Public Methods
public

getButton(): *

public
public

getMenu(): *

public
public
public
public

menuClick(e: *)

public

Inherited Summary

From class Dropdown
public static

initAttrs(attrs: *)

public
public

getMenu(items: *): *

public

oncreate(vnode: *)

public

oninit(vnode: *)

public

view(vnode: *): *

protected

getButton(children: *): *

Get the template for the button.

protected

getButtonContent(children: *): *

Get the template for the button's content.

Static Public Methods

public static initAttrs(attrs: *) source

Override:

Dropdown#initAttrs

Params:

NameTypeAttributeDescription
attrs *

Public Methods

public getButton(): * source

Get the template for the button.

Override:

Dropdown#getButton

Return:

*

public getButtonContent(): undefined[] source

Get the template for the button's content.

Override:

Dropdown#getButtonContent

Return:

undefined[]

public getMenu(): * source

Override:

Dropdown#getMenu

Return:

*

public getNewCount(): * source

Return:

*

public getUnreadCount(): * source

Return:

*

public goToRoute() source

public menuClick(e: *) source

Params:

NameTypeAttributeDescription
e *

public onclick() source