Preparing search index...
The search index is not available
@umbraco-cms/backoffice
@umbraco-cms/backoffice
packages/core/tree
UmbTreeItemContext
Interface UmbTreeItemContext<TreeItemType>
interface
UmbTreeItemContext
<
TreeItemType
>
{
childItems
:
Observable
<
TreeItemType
[]
>
;
entityType
?:
string
;
hasActions
:
Observable
<
boolean
>
;
hasChildren
:
Observable
<
boolean
>
;
isActive
:
Observable
<
boolean
>
;
isLoading
:
Observable
<
boolean
>
;
isSelectable
:
Observable
<
boolean
>
;
isSelectableContext
:
Observable
<
boolean
>
;
isSelected
:
Observable
<
boolean
>
;
pagination
:
UmbPaginationManager
;
path
:
Observable
<
string
>
;
treeItem
:
Observable
<
undefined
|
TreeItemType
>
;
unique
?:
null
|
string
;
constructPath
(
pathname
:
string
,
entityType
:
string
,
unique
:
string
)
:
string
;
deselect
(
)
:
void
;
destroy
(
)
:
void
;
loadChildren
(
)
:
void
;
select
(
)
:
void
;
setTreeItem
(
treeItem
:
undefined
|
TreeItemType
)
:
void
;
toggleContextMenu
(
)
:
void
;
}
Type Parameters
TreeItemType
extends
UmbTreeItemModel
Hierarchy (
view full
)
UmbApi
UmbTreeItemContext
Implemented by
UmbTreeItemContextBase
Index
Properties
child
Items
entity
Type?
has
Actions
has
Children
is
Active
is
Loading
is
Selectable
is
Selectable
Context
is
Selected
pagination
path
tree
Item
unique?
Methods
construct
Path
deselect
destroy
load
Children
select
set
Tree
Item
toggle
Context
Menu
Properties
child
Items
child
Items
:
Observable
<
TreeItemType
[]
>
Optional
entity
Type
entity
Type
?:
string
has
Actions
has
Actions
:
Observable
<
boolean
>
has
Children
has
Children
:
Observable
<
boolean
>
is
Active
is
Active
:
Observable
<
boolean
>
is
Loading
is
Loading
:
Observable
<
boolean
>
is
Selectable
is
Selectable
:
Observable
<
boolean
>
is
Selectable
Context
is
Selectable
Context
:
Observable
<
boolean
>
is
Selected
is
Selected
:
Observable
<
boolean
>
pagination
pagination
:
UmbPaginationManager
path
path
:
Observable
<
string
>
tree
Item
tree
Item
:
Observable
<
undefined
|
TreeItemType
>
Optional
unique
unique
?:
null
|
string
Methods
construct
Path
construct
Path
(
pathname
,
entityType
,
unique
)
:
string
Parameters
pathname
:
string
entityType
:
string
unique
:
string
Returns
string
deselect
deselect
(
)
:
void
Returns
void
destroy
destroy
(
)
:
void
Returns
void
load
Children
load
Children
(
)
:
void
Returns
void
select
select
(
)
:
void
Returns
void
set
Tree
Item
set
Tree
Item
(
treeItem
)
:
void
Parameters
treeItem
:
undefined
|
TreeItemType
Returns
void
toggle
Context
Menu
toggle
Context
Menu
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
child
Items
entity
Type
has
Actions
has
Children
is
Active
is
Loading
is
Selectable
is
Selectable
Context
is
Selected
pagination
path
tree
Item
unique
Methods
construct
Path
deselect
destroy
load
Children
select
set
Tree
Item
toggle
Context
Menu
@umbraco-cms/backoffice
Loading...
"
"