@dxos/app-toolkit - v0.16.0
Preparing search index...
AppNode
getDropTargetPartials
Variable getDropTargetPartials
Const
getDropTargetPartials
:
(
...
args
:
[
container
:
Container
,
db
:
Database
]
,
)
=>
{
acceptPersistenceClass
:
Set
<
string
>
;
acceptPersistenceKey
:
Set
<
string
>
;
canDrop
:
(
source
:
{
id
:
string
;
item
:
any
;
path
:
readonly
string
[]
;
treeId
:
string
;
}
,
)
=>
boolean
;
dropInto
:
Container
;
isLink
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
from
?:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
any
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
)
=>
boolean
;
moveScope
:
undefined
|
string
;
onLink
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
index
?:
number
,
)
=>
void
;
onMoveIn
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
index
?:
number
,
)
=>
void
;
role
:
"branch"
;
}
= ...
Partials for a node that items can be dropped onto to join
container
.
Type declaration
(
...
args
:
[
container
:
Container
,
db
:
Database
]
,
)
:
{
acceptPersistenceClass
:
Set
<
string
>
;
acceptPersistenceKey
:
Set
<
string
>
;
canDrop
:
(
source
:
{
id
:
string
;
item
:
any
;
path
:
readonly
string
[]
;
treeId
:
string
;
}
,
)
=>
boolean
;
dropInto
:
Container
;
isLink
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
from
?:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
any
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
)
=>
boolean
;
moveScope
:
undefined
|
string
;
onLink
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
index
?:
number
,
)
=>
void
;
onMoveIn
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
index
?:
number
,
)
=>
void
;
role
:
"branch"
;
}
Parameters
...
args
:
[
container
:
Container
,
db
:
Database
]
Returns
{
acceptPersistenceClass
:
Set
<
string
>
;
acceptPersistenceKey
:
Set
<
string
>
;
canDrop
:
(
source
:
{
id
:
string
;
item
:
any
;
path
:
readonly
string
[]
;
treeId
:
string
;
}
,
)
=>
boolean
;
dropInto
:
Container
;
isLink
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
from
?:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
any
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
)
=>
boolean
;
moveScope
:
undefined
|
string
;
onLink
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
index
?:
number
,
)
=>
void
;
onMoveIn
:
(
child
:
Readonly
<
{
cacheable
?:
string
[]
;
data
:
Unknown
;
id
:
string
;
properties
:
Readonly
<
Record
<
string
,
any
>
>
;
type
:
string
;
}
,
>
,
index
?:
number
,
)
=>
void
;
role
:
"branch"
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/app-toolkit - v0.16.0
Loading...
Partials for a node that items can be dropped onto to join
container.