1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 17:56:14 +02:00
Files
php-flarum/js/dist-typings/forum/components/LogInModal.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

48 lines
1.1 KiB
TypeScript

/**
* The `LogInModal` component displays a modal dialog with a login form.
*
* ### Attrs
*
* - `identification`
* - `password`
*/
export default class LogInModal extends Modal {
/**
* The value of the identification input.
*
* @type {Function}
*/
identification: Function | undefined;
/**
* The value of the password input.
*
* @type {Function}
*/
password: Function | undefined;
/**
* The value of the remember me input.
*
* @type {Function}
*/
remember: Function | undefined;
body(): JSX.Element[];
fields(): ItemList;
footer(): (string | JSX.Element)[];
/**
* Open the forgot password modal, prefilling it with an email if the user has
* entered one.
*
* @public
*/
public forgotPassword(): void;
/**
* Open the sign up modal, prefilling it with an email/username/password if
* the user has entered one.
*
* @public
*/
public signUp(): void;
}
import Modal from "../../common/components/Modal";
import ItemList from "../../common/utils/ItemList";