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

LogInButton

Extends:

src/common/Component.js~ComponentButton → LogInButton

The LogInButton component displays a social login button which will open a popup window containing the specified path.

Attrs

  • path

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 *