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

ExtensionLinkButton

Extends:

src/common/Component.js~ComponentButtonLinkButton → ExtensionLinkButton

Method Summary

Public Methods
public

getButtonContent(children: *): *

public

statusItems(name: *): *

Inherited Summary

From class Button
public

view(vnode: *): *

protected

getButtonContent(children: *): *

Get the template for the button's content.

From class LinkButton
public static

initAttrs(attrs: *)

public static

Determine whether a component with the given attrs is 'active'.

public

view(vnode: *): *

Public Methods

public getButtonContent(children: *): * source

Get the template for the button's content.

Override:

Button#getButtonContent

Params:

NameTypeAttributeDescription
children *

Return:

*

public statusItems(name: *): * source

Params:

NameTypeAttributeDescription
name *

Return:

*