Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egor00f/drop-down-list
drop-down list for roblox
https://github.com/egor00f/drop-down-list
roblox roblox-script roblox-ui
Last synced: about 1 month ago
JSON representation
drop-down list for roblox
- Host: GitHub
- URL: https://github.com/egor00f/drop-down-list
- Owner: Egor00f
- Created: 2024-05-10T16:58:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-11T13:15:19.000Z (8 months ago)
- Last Synced: 2024-05-11T18:32:44.302Z (8 months ago)
- Topics: roblox, roblox-script, roblox-ui
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drop-down List
just dropdown list
## usage:
```
local dropdownList = require(dropdownList)function a()
return "Amogus"
endlocal List = dropdownList.DropdownList:new(
{ -- List of Elemets
dropdownList.Element("One", a), -- Second arg is function (you can don't add)
dropdownList.Element("Two"),
dropdownList.Element("Three"),
dropdownList.Element("UwU"),
},
Frame, -- Frame that will be
3, -- Rows, default 4
"Dropdown List" -- Name of List
)List:Handler()
List:Update(function(newVal:number)
print(newVal)
end)
```
Example of use in ReplicatedStorage