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

SettingDropdown

Extends:

src/common/Component.js~ComponentDropdownSelectDropdown → SettingDropdown

Static Method Summary

Static Public Methods
public static

initAttrs(attrs: *)

Method Summary

Public Methods
public

view(vnode: *): *

Inherited Summary

From class Dropdown
public static

initAttrs(attrs: *)

public
public

getMenu(items: *): *

public

oncreate(vnode: *)

public

oninit(vnode: *)

public

view(vnode: *): *

protected

getButton(children: *): *

Get the template for the button.

protected

getButtonContent(children: *): *

Get the template for the button's content.

From class SelectDropdown
public static

initAttrs(attrs: *)

public

getButtonContent(children: *): undefined[]

Static Public Methods

public static initAttrs(attrs: *) source

Override:

SelectDropdown#initAttrs

Params:

NameTypeAttributeDescription
attrs *

Public Methods

public view(vnode: *): * source

Override:

Dropdown#view

Params:

NameTypeAttributeDescription
vnode *

Return:

*