> For the complete documentation index, see [llms.txt](https://docs.wisej.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wisej.com/docs/controls/buttons/splitbutton.md).

# SplitButton

The SplitButton is a composite control that combines a primary button with a default value and a secondary button displaying a drop-down list of mutually exclusive options.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation.](http://docs.wisej.com/api)
{% endhint %}

## Features

### Menu Items

The SplitButton features a dropdown that displays a list of selectable options.

![SplitButton control showing dropdown menu with selectable options](/files/-MdTiQOT6PZviJWTzrxA)

### Orientation

The SplitButton control can be configured to show the dropdown button horizontally or vertically.

![SplitButton control demonstrating horizontal and vertical orientations](/files/-MdTx-RRXk3EgoivmN4X)

### Repeat

The Repeat functionality allows a SplitButton to raise its `Click` event repeatedly from the time it is pressed until released.

![Animated demonstration of SplitButton repeat functionality](/files/-MdThcWTDdNLsOgb-b1l)

## Advanced

### JavaScript Widget

| Item             | Description                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| Class name       | "wisej.web.SplitButton"                                                                                             |
| Theme appearance | "splitbutton", see [Themes](https://docs.wisej.com/theme-builder/theme-elements/elements).                          |
| Child components | "button", "arrow" is the dropdown icon on the button. See [JavaScript](/docs/concepts/javascript-object-model.md).  |
| Source code      | [https://github.com/iceteagroup/wisej-js](https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.TextBox.js) |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.wisej.com/docs/controls/buttons/splitbutton.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.
