# Element Properties

Each type of element has unique properties that you can assign them when creating; this page lists them all.

## Toggle

| Argument | Type    | Description                           |
| -------- | ------- | ------------------------------------- |
| default  | Boolean | The default state of the toggle       |
| flag     | String  | The flag assigned to the toggle value |

## Slider

| Argument  | Type   | Description                                                                  |
| --------- | ------ | ---------------------------------------------------------------------------- |
| min\_text | String | The text the slider displays when the slider's value is the lowest possible  |
| max\_text | String | The text the slider displays when the slider's value is maxxed out           |
| decimals  | Number | The decimal amount used in slider value (1 = first decimal place, and so on) |
| default   | Number | The default value of the slider                                              |
| prefix    | String | The text that shows before the value in the menu                             |
| suffix    | String | The text that shows after the value in the menu                              |
| flag      | String | The flag assigned to the slider value                                        |
| min       | Number | The minimum value allowed to set the slider to                               |
| max       | Number | The maximum value allowed to set the slider to                               |

## Dropdown

| Argument      | Type    | Description                                        |
| ------------- | ------- | -------------------------------------------------- |
| default       | Table   | The default options to be selected                 |
| options       | Table   | The options available in the dropdown              |
| requires\_one | Boolean | Whether or not the dropdown selection can be none  |
| multi         | Boolean | Whether or not multiple options can be selected    |
| flag          | String  | The flag assigned to the dropdown selected options |

### Colorpicker

| Argument              | Type   | Description                                 |
| --------------------- | ------ | ------------------------------------------- |
| default\_transparency | Number | The default transparency of the colorpicker |
| transparency\_flag    | String | The flag assigned to the transparency value |
| default\_color        | Color3 | The default color of the colorpicker        |
| color\_flag           | String | The flag assigned to the color value        |

### Textbox

| Argument | Type   | Description                            |
| -------- | ------ | -------------------------------------- |
| default  | String | The default value of the textbox       |
| flag     | String | The flag assigned to the textbox value |

### Button

| Argument     | Type    | Description                                                                                                              |
| ------------ | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| confirmation | Boolean | Whether or not the button must be clicked twice (confirmed) to activate, like seen with the load and save config buttons |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://panduh.gitbook.io/panduh-docs/getting-started/elements/element-properties.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
