@umbraco-cms/backoffice
Preparing search index...
packages/core/tree
UmbTreeItemContext
Interface UmbTreeItemContext<TreeItemType>
interface
UmbTreeItemContext
<
TreeItemType
extends
UmbTreeItemModel
>
{
childItems
:
Observable
<
TreeItemType
[]
>
;
entityType
?:
string
;
hasActions
:
Observable
<
boolean
>
;
hasChildren
:
Observable
<
boolean
>
;
isActive
:
Observable
<
boolean
>
;
isLoading
:
Observable
<
boolean
>
;
isOpen
:
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
;
getHostElement
()
:
Element
;
getTreeItem
()
:
undefined
|
TreeItemType
;
hideChildren
()
:
void
;
loadChildren
()
:
void
;
loadChildren
()
:
void
;
select
()
:
void
;
setTreeItem
(
treeItem
:
undefined
|
TreeItemType
)
:
void
;
showChildren
()
:
void
;
toggleContextMenu
()
:
void
;
}
Type Parameters
TreeItemType
extends
UmbTreeItemModel
Hierarchy (
View Summary
)
UmbApi
UmbContextMinimal
UmbTreeItemContext
Implemented by
UmbTreeItemContextBase
Index
Properties
child
Items
entity
Type?
has
Actions
has
Children
is
Active
is
Loading
is
Open
is
Selectable
is
Selectable
Context
is
Selected
pagination
path
tree
Item
unique?
Methods
construct
Path
deselect
destroy
get
Host
Element
get
Tree
Item
hide
Children
load
Children
select
set
Tree
Item
show
Children
toggle
Context
Menu
Properties
child
Items
childItems
:
Observable
<
TreeItemType
[]
>
Optional
entity
Type
entityType
?:
string
has
Actions
hasActions
:
Observable
<
boolean
>
has
Children
hasChildren
:
Observable
<
boolean
>
is
Active
isActive
:
Observable
<
boolean
>
is
Loading
isLoading
:
Observable
<
boolean
>
is
Open
isOpen
:
Observable
<
boolean
>
is
Selectable
isSelectable
:
Observable
<
boolean
>
is
Selectable
Context
isSelectableContext
:
Observable
<
boolean
>
is
Selected
isSelected
:
Observable
<
boolean
>
pagination
pagination
:
UmbPaginationManager
path
path
:
Observable
<
string
>
tree
Item
treeItem
:
Observable
<
undefined
|
TreeItemType
>
Optional
unique
unique
?:
null
|
string
Methods
construct
Path
constructPath
(
pathname
:
string
,
entityType
:
string
,
unique
:
string
)
:
string
Parameters
pathname
:
string
entityType
:
string
unique
:
string
Returns
string
deselect
deselect
()
:
void
Returns
void
destroy
destroy
()
:
void
Returns
void
get
Host
Element
getHostElement
()
:
Element
Returns
Element
get
Tree
Item
getTreeItem
()
:
undefined
|
TreeItemType
Returns
undefined
|
TreeItemType
hide
Children
hideChildren
()
:
void
Returns
void
load
Children
loadChildren
()
:
void
Returns
void
loadChildren
()
:
void
Returns
void
select
select
()
:
void
Returns
void
set
Tree
Item
setTreeItem
(
treeItem
:
undefined
|
TreeItemType
)
:
void
Parameters
treeItem
:
undefined
|
TreeItemType
Returns
void
show
Children
showChildren
()
:
void
Returns
void
toggle
Context
Menu
toggleContextMenu
()
:
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
Open
is
Selectable
is
Selectable
Context
is
Selected
pagination
path
tree
Item
unique
Methods
construct
Path
deselect
destroy
get
Host
Element
get
Tree
Item
hide
Children
load
Children
select
set
Tree
Item
show
Children
toggle
Context
Menu
@umbraco-cms/backoffice
Loading...