Skip to main content
Version: v1

SegmentActions Interface

Signature

export interface SegmentActions<TClientData>

Type Parameters

Parameter Description
TClientData

Properties

Property Modifiers Type Description
contains optional NodeAction<TClientData>
leaf optional ISegmentAction<TClientData>
post optional BlockAction<TClientData>
pre optional BlockAction<TClientData>
shift optional NodeAction<TClientData>

Property Details

contains

Signature

contains?: NodeAction<TClientData>;

Type: NodeAction<TClientData>

leaf

Signature

leaf?: ISegmentAction<TClientData>;

Type: ISegmentAction<TClientData>

post

Signature

post?: BlockAction<TClientData>;

Type: BlockAction<TClientData>

pre

Signature

pre?: BlockAction<TClientData>;

Type: BlockAction<TClientData>

shift

Signature

shift?: NodeAction<TClientData>;

Type: NodeAction<TClientData>