@minecraft/server-editor
Preparing search index...
ICollectionTreeEntryDropdownItemParams
Type Alias ICollectionTreeEntryDropdownItemParams
Beta
Parameters to create dropdown in a collection tree entry
type
ICollectionTreeEntryDropdownItemParams
=
{
enabled
?:
boolean
;
menuOptions
?:
ICollectionTreeEntryDropdownItemMenuOption
[]
;
onChange
?:
(
newValue
:
string
,
oldValue
:
string
,
item
:
ICollectionTreeEntryDropdownItem
,
)
=>
void
;
title
?:
LocalizedString
;
tooltip
?:
BasicTooltipContent
;
value
:
IObservableProp
<
string
>
;
visible
?:
boolean
;
}
Index
Properties
enabled?
menu
Options?
on
Change?
title?
tooltip?
value
visible?
Properties
Optional
enabled
enabled
?:
boolean
Optional
menu
Options
menuOptions
?:
ICollectionTreeEntryDropdownItemMenuOption
[]
Optional
on
Change
onChange
?:
(
newValue
:
string
,
oldValue
:
string
,
item
:
ICollectionTreeEntryDropdownItem
,
)
=>
void
Optional
title
title
?:
LocalizedString
Optional
tooltip
tooltip
?:
BasicTooltipContent
value
value
:
IObservableProp
<
string
>
Optional
visible
visible
?:
boolean
Settings
Member Visibility
Protected
Inherited
External
World Mutation
Not Early Execution
Theme
OS
Light
Dark
On This Page
Properties
enabled
menu
Options
on
Change
title
tooltip
value
visible
@minecraft/server-editor
Loading...
Parameters to create dropdown in a collection tree entry