Kinemium Docs

Dropdown

GUI component that allows selection of a single option from a list.

Properties

PropertyTypeDefault
Namestring"UIDropdown"
AbsoluteSizeanynil
AbsolutePositionanynil
SizeUDim2UDim2.new(0, 220, 0, 36)
Optionstable{ "Option 1", "Option 2", "Option 3" }
SelectedIndexnumber1
SelectedOptionstring"Option 1"
TextSizenumber16
BackgroundColor3Color3Color3.new(0.15, 0.15, 0.18)
HoverColor3Color3Color3.new(0.25, 0.35, 0.55)
SelectedColor3Color3Color3.new(0.2, 0.3, 0.5)
BorderColor3Color3Color3.new(0.3, 0.3, 0.35)
TextColor3Color3Color3.new(0.95, 0.95, 0.97)
SecondaryTextColor3Color3Color3.new(0.7, 0.7, 0.75)
OnSelectionChangedanynil
Visiblebooleantrue

Functions


sanitizeOptions

Arguments

options

Returns

This function returns nothing.

onSelect

Arguments

index, option

Returns

This function returns nothing.

API

instance:sanitizeOptions(options)
instance:onSelect(index, option)

On this page