mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Update API.md
This commit is contained in:
parent
e22ea1b6d5
commit
dcf0863d9c
2
API.md
2
API.md
@ -192,7 +192,7 @@ is a `<select>` dropdown.
|
||||
// Add a dropdown controller.
|
||||
var person = {name: 'Sam'};
|
||||
gui.add(person, 'name', ['Sam', 'Alex', 'Ray']);
|
||||
gui.add(person, 'name', {'Sam': 'Sammy', 'Alex': 'Alexis', 'Ray': 'Riley']);
|
||||
gui.add(person, 'name', {'Sam': 'Sammy', 'Alex': 'Alexis', 'Ray': 'Riley'});
|
||||
```
|
||||
<a name="GUI+addColor"></a>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user