1
0
mirror of https://github.com/flarum/core.git synced 2025-10-13 07:54:25 +02:00
Files
php-flarum/js/dist-typings/forum/components/LogInModal.d.ts
flarum-bot 45927f1068 Bundled output for commit 7db2d0f697
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-10-30 22:31:34 +00:00

49 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<any> {
constructor();
/**
* 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";