SelectMenu
Represents a select menu component.
new SelectMenu(options)
Section titled “new SelectMenu(options)”Constructs a select object with the given parameters.
Returns: Object - The constructed select object.
| Param | Type | Description |
|---|---|---|
| options | Object | The options for the select menu. |
| options.customid | string | The custom ID of the select menu. |
| options.placeholder | string | The placeholder text for the select menu. |
| options.disabled | boolean | Whether the select menu is disabled or not. |
| options.minvalues | number | The minimum number of values that can be selected. |
| options.maxvalues | number | The maximum number of values that can be selected. |
| options.options | Array | The options for the select menu. |