Preparing search index...
The search index is not available
DCSOlympus
DCSOlympus
controls/dropdown
Dropdown
Class Dropdown
Hierarchy
Dropdown
Index
Constructors
constructor
Properties
#callback
#container
#default
Value
#index
#options
#options
List
#value
Methods
#create
Element
#toggle
clip
close
force
Value
get
Container
get
Index
get
Option
Elements
get
Value
hide
open
reset
select
Text
select
Value
set
Options
set
Options
Elements
set
Value
show
Constructors
constructor
new
Dropdown
(
ID
,
callback
,
options
?
,
defaultText
?
)
:
Dropdown
Parameters
ID
:
null
|
string
callback
:
CallableFunction
options
:
null
|
string
[]
= null
Optional
defaultText
:
string
Optional
Returns
Dropdown
Properties
Private
#callback
#callback
:
CallableFunction
Private
#container
#container
:
HTMLElement
Private
#default
Value
#default
Value
:
string
Private
#index
#index
:
number
= 0
Private
#options
#options
:
HTMLElement
Private
#options
List
#options
List
:
string
[]
= []
Private
#value
#value
:
HTMLElement
Methods
Private
#create
Element
#create
Element
(
defaultText
)
:
HTMLDivElement
Parameters
defaultText
:
undefined
|
string
Returns
HTMLDivElement
Private
#toggle
#toggle
(
)
:
void
Returns
void
clip
clip
(
)
:
void
Returns
void
close
close
(
)
:
void
Returns
void
force
Value
force
Value
(
value
)
:
void
Parameters
value
:
string
Returns
void
get
Container
get
Container
(
)
:
HTMLElement
Returns
HTMLElement
get
Index
get
Index
(
)
:
number
Returns
number
get
Option
Elements
get
Option
Elements
(
)
:
HTMLCollection
Returns
HTMLCollection
get
Value
get
Value
(
)
:
string
Returns
string
hide
hide
(
)
:
void
Returns
void
open
open
(
)
:
void
Returns
void
reset
reset
(
)
:
void
Returns
void
select
Text
select
Text
(
text
)
:
void
Parameters
text
:
string
Returns
void
select
Value
select
Value
(
idx
)
:
boolean
Parameters
idx
:
number
Returns
boolean
set
Options
set
Options
(
optionsList
,
sortAlphabetically
?
)
:
void
Parameters
optionsList
:
string
[]
sortAlphabetically
:
boolean
= true
Returns
void
set
Options
Elements
set
Options
Elements
(
optionsElements
)
:
void
Parameters
optionsElements
:
HTMLElement
[]
Returns
void
set
Value
set
Value
(
value
)
:
void
Parameters
value
:
string
Returns
void
show
show
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
#callback
#container
#default
Value
#index
#options
#options
List
#value
#create
Element
#toggle
clip
close
force
Value
get
Container
get
Index
get
Option
Elements
get
Value
hide
open
reset
select
Text
select
Value
set
Options
set
Options
Elements
set
Value
show
DCSOlympus
contextmenus/airbasecontextmenu
contextmenus/airbasespawnmenu
contextmenus/coalitionareacontextmenu
contextmenus/contextmenu
contextmenus/mapcontextmenu
contextmenus/unitcontextmenu
controls/control
controls/dropdown
Dropdown
controls/slider
controls/switch
controls/unitspawnmenu
index
map/boxselect
map/clickableminimap
map/coalitionarea
map/coalitionareahandle
map/coalitionareamiddlehandle
map/custommarker
map/destinationpreviewmarker
map/drawingcursor
map/map
map/targetmarker
map/temporaryunitmarker
mission/airbase
mission/bullseye
mission/missionhandler
other/utils
panels/connectionstatuspanel
panels/hotgrouppanel
panels/logpanel
panels/mouseinfopanel
panels/panel
panels/serverstatuspanel
panels/unitcontrolpanel
panels/unitinfopanel
popups/popup
server/dataextractor
server/server
unit/aircraftdatabase
unit/cities
Database
unit/groundunitdatabase
unit/helicopterdatabase
unit/navyunitdatabase
unit/unit
unit/unitdatabase
unit/unitsmanager
weapon/weapon
weapon/weaponsmanager
Generated using
TypeDoc