Reference Source
import SelectDropdown from 'flarum/components/SelectDropdown.js'
public class | source

SelectDropdown

Extends:

flarum/components/Dropdown~Dropdown → SelectDropdown

The SelectDropdown component is the same as a Dropdown, except the toggle button's label is set as the label of the first child which has a truthy active prop.

Props

  • caretIcon
  • defaultLabel

Static Method Summary

Static Public Methods
public static

initProps(props: *)

Method Summary

Public Methods
public

Static Public Methods

public static initProps(props: *) source

Params:

NameTypeAttributeDescription
props *

Public Methods

public getButtonContent(): undefined[] source

Return:

undefined[]