BetaBetaThe player to show this form to.
The title text to display at the top of the form.
BetaThe text label to display on the button.
A callback function that is invoked when the player clicks the button.
Optionaloptions: ButtonOptionsOptional configuration for the button, such as a tooltip, disabled state, or visibility.
BetaBetaBetaOptionaloptions: DividerOptionsOptional configuration for the divider, such as visibility.
BetaThe text label displayed around the dropdown.
An ObservableNumber that holds the index of the currently selected item.
The list of items to display in the dropdown.
Optionaloptions: DropdownOptionsOptional configuration for the dropdown, such as a description, disabled state, or visibility.
BetaThe header text to display.
Optionaloptions: TextOptionsOptional configuration for the header, such as visibility.
BetaThe text to display in the label.
Optionaloptions: TextOptionsOptional configuration for the label, such as visibility.
BetaShows the form to the player. Returns a promise that resolves with a DataDrivenScreenClosedReason indicating how the form was closed.
This function can't be called in restricted-execution mode.
BetaThe text label displayed around the slider.
An ObservableNumber that holds the current value of the slider.
The minimum value of the slider range.
The maximum value of the slider range.
Optionaloptions: SliderOptionsOptional configuration for the slider, such as step size, a description, disabled state, or visibility.
BetaOptionaloptions: SpacingOptionsOptional configuration for the spacer, such as visibility.
BetaThe text label displayed around the text field.
An ObservableString that holds the current text value of the input field.
Optionaloptions: TextFieldOptionsOptional configuration for the text field, such as a description, disabled state, or visibility.
BetaThe text label displayed next to the toggle.
An ObservableBoolean that holds the current on/off state of the toggle.
Optionaloptions: ToggleOptionsOptional configuration for the toggle, such as a description, disabled state, or visibility.
A customizable data driven (DDUI) form that lets you add buttons, labels, toggles, dropdowns, sliders, text fields, and more. The form layout is built by calling methods to add components before calling show(). Any Observable values bound to form components will automatically update the UI when their values change.