Skip to main content
Version: v1

DetachInternal_0_0_2 Interface

Removes a sequence of nodes from the tree. If a destination is specified, the detached sequence is associated with that ID and held for possible reuse by later changes in this same Edit (such as by an Insert). A Detach without a destination is a deletion of the specified sequence, as is a Detach with a destination that is not used later.

Signature

export interface DetachInternal_0_0_2

Properties

Property Modifiers Type Description
destination optional DetachedSequenceId
source StableRangeInternal_0_0_2
type typeof ChangeTypeInternal.Detach

Property Details

destination

Signature

readonly destination?: DetachedSequenceId;

Type: DetachedSequenceId

source

Signature

readonly source: StableRangeInternal_0_0_2;

Type: StableRangeInternal_0_0_2

type

Signature

readonly type: typeof ChangeTypeInternal.Detach;

Type: typeof ChangeTypeInternal.Detach