Reference Source
import SignUpModal from 'flarum/components/SignUpModal.js'
public class | source

SignUpModal

Extends:

flarum/components/Modal~Modal → SignUpModal

The SignUpModal component displays a modal dialog with a singup form.

Props

  • username
  • email
  • password

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

The value of the email input.

public
public

The value of the password input.

public

The value of the username input.

public

The user that has been signed up and that should be welcomed.

Method Summary

Public Methods
public

body(): *

public

className(): *

public
public
public

logIn()

Open the log in modal, prefilling it with an email/username/password if the user has entered one.

public
public

onsubmit(e: *)

public

title(): *

Public Constructors

public constructor() source

Public Members

public email: Function source

The value of the email input.

public loading: boolean source

public password: Function source

The value of the password input.

public username: Function source

The value of the username input.

public welcomeUser: null | User source

The user that has been signed up and that should be welcomed.

Public Methods

public body(): * source

Return:

*

public className(): * source

Return:

*

public content(): undefined[] source

Return:

undefined[]

Return:

undefined[]

public logIn() source

Open the log in modal, prefilling it with an email/username/password if the user has entered one.

public onready() source

public onsubmit(e: *) source

Params:

NameTypeAttributeDescription
e *

public title(): * source

Return:

*