Selector Configs
Learn about components that allow the user to select between multiple options.
Dropdown List
@Dropdown(
name = "I drop!", // name of the component
options = {"An option", "Another option", "Maybe this one?", "Or this!"},
)
public static int value = 1; // default option (here "Another Option")
Last updated
Was this helpful?