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

ComposerButton

Extends:

src/common/Component.js~ComponentButton → ComposerButton

The ComposerButton component displays a button suitable for the composer controls.

Static Method Summary

Static Public Methods
public static

initAttrs(attrs: *)

Inherited Summary

From class Button
public

view(vnode: *): *

protected

getButtonContent(children: *): *

Get the template for the button's content.

Static Public Methods

public static initAttrs(attrs: *) source

Params:

NameTypeAttributeDescription
attrs *