gets/sets the current options for the dropdown
options
Examples
const dropdown1 = $.makeDropdown(
$.w/2, // x position
80, // y position
100, // width
["Option A", "Option B", "Option C"] // options
);
const dropdown2 = $.makeDropdown($.w/2, 200, 100, []); // zero options is allowed.
// setting options later also allowed.
dropdown2.options = [
"Option Q",
"Option R",
"Option S"
];
function update() {
dropdown1.draw();
dropdown2.draw();
}