ChangeEmailModal
Extends:
The ChangeEmailModal
component shows a modal dialog which allows the user
to change their email address.
Member Summary
Public Members | ||
public |
alertAttrs: * |
|
public |
The value of the email input. |
|
public |
|
|
public |
The value of the password input. |
|
public |
Whether or not the email has been changed successfully. |
Method Summary
Public Methods | ||
public |
|
|
public |
content(): * |
|
public |
onerror(error: *) |
|
public |
oninit(vnode: *) |
|
public |
onsubmit(e: *) |
|
public |
title(): * |
Inherited Summary
From class Modal | ||
public static |
Determine whether or not the modal should be dismissible via an 'x' button. |
|
public |
Attributes for an alert component to show below the header. |
|
public |
|
|
public abstract |
Get the class name to apply to the modal. |
|
public abstract |
content(): VirtualElement Get the content of the modal. |
|
public |
hide() Hide the modal. |
|
public |
loaded() Stop loading. |
|
public |
onbeforeremove(vnode: *): * |
|
public |
oncreate(vnode: *) |
|
public |
onerror(error: RequestError) Show an alert describing an error returned from the API, and give focus to the first relevant field. |
|
public |
onready() Focus on the first input when the modal is ready to be used. |
|
public |
onsubmit(e: Event) Handle the modal form's submit event. |
|
public abstract |
Get the title of the modal dialog. |
|
public |
view(): * |
Public Members
public alertAttrs: * source
Attributes for an alert component to show below the header.
Override:
Modal#alertAttrsPublic Methods
public className(): string source
Get the class name to apply to the modal.
Override:
Modal#classNamepublic onerror(error: *) source
Show an alert describing an error returned from the API, and give focus to the first relevant field.
Override:
Modal#onerrorParams:
Name | Type | Attribute | Description |
error | * |
public oninit(vnode: *) source
Params:
Name | Type | Attribute | Description |
vnode | * |
public onsubmit(e: *) source
Handle the modal form's submit event.
Override:
Modal#onsubmitParams:
Name | Type | Attribute | Description |
e | * |