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

MailPage

Extends:

src/common/Component.js~ComponentPageAdminPage → MailPage

Member Summary

Public Members
public
public
public
public

status: {"sending": *, "errors": *}

public

Method Summary

Public Methods
public

content(): *

public

headerInfo(): {"className": string, "icon": string, "title": *, "description": *}

public

oninit(vnode: *)

public
public

saveSettings(e: *)

public

Inherited Summary

From class Page
public

A class name to apply to the body while the route is active.

public

Whether we should scroll to the top of the page when its rendered.

public

Whether the browser should restore scroll state on refreshes.

public

oncreate(vnode: *)

public

oninit(vnode: *)

public

onremove(vnode: *)

From class AdminPage
public
public

settings: {}

public

buildSettingComponent(setting: *): JSX.Element

buildSettingComponent takes a settings object and turns it into a component.

public
public

dirty(): *

public

header(): *

public

headerInfo(): {"className": *, "icon": *, "title": *, "description": *}

public

isChanged(): *

public

oninit(vnode: *)

public
public

saveSettings(e: *): *

public

setting(key: *, fallback: string): *

public
public

view(): *

Public Members

public driverFields: * source

public loading: boolean source

Override:

AdminPage#loading

public sendingTest: boolean source

public status: {"sending": *, "errors": *} source

public testEmailSuccessAlert: * source

Public Methods

public content(): * source

Override:

AdminPage#content

Return:

*

public headerInfo(): {"className": string, "icon": string, "title": *, "description": *} source

Override:

AdminPage#headerInfo

Return:

{"className": string, "icon": string, "title": *, "description": *}

public oninit(vnode: *) source

Override:

AdminPage#oninit

Params:

NameTypeAttributeDescription
vnode *

public refresh() source

public saveSettings(e: *) source

Override:

AdminPage#saveSettings

Params:

NameTypeAttributeDescription
e *

public sendTestEmail() source