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

AdminLinkButton

Extends:

src/common/Component.js~ComponentButtonLinkButton → AdminLinkButton

Method Summary

Public Methods
public

getButtonContent(children: *): undefined[]

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: *): undefined[] source

Get the template for the button's content.

Override:

Button#getButtonContent

Params:

NameTypeAttributeDescription
children *

Return:

undefined[]