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

EditCustomFooterModal

Extends:

src/common/Component.js~ComponentModalSettingsModal → EditCustomFooterModal

Method Summary

Public Methods
public
public
public
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

Show an alert describing an error returned from the API, and give focus to the first relevant field.

public

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(): *

From class SettingsModal
public
public

settings: {}

public

changed(): *

public

content(): *

public

dirty(): *

public
public

oninit(vnode: *)

public
public

onsubmit(e: *)

public

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

public

Public Methods

public className(): string source

Get the class name to apply to the modal.

Override:

Modal#className

Return:

string

public form(): undefined[] source

Override:

SettingsModal#form

Return:

undefined[]

public onsaved() source

Override:

SettingsModal#onsaved

public title(): * source

Get the title of the modal dialog.

Override:

Modal#title

Return:

*