Skip to content

Type Editor


Type Editor / @type-editor/collab / Rebaseable / Rebaseable

Class: Rebaseable

Defined in: Rebaseable.ts:9

Represents a step that can be rebased (undone and redone after applying other steps). Stores the original step, its inverse, and the transform that originated it.

Constructors

Constructor

ts
new Rebaseable(
   step,
   inverted,
   origin): Rebaseable;

Defined in: Rebaseable.ts:16

Creates a new Rebaseable instance.

Parameters

ParameterTypeDescription
stepPmStepThe original step to be applied.
invertedPmStepThe inverse of the step, used for undoing.
originTransformThe transform that originally produced this step.

Returns

Rebaseable

Properties

PropertyModifierTypeDescriptionDefined in
invertedreadonlyPmStepThe inverse of the step, used for undoing.Rebaseable.ts:18
originreadonlyTransformThe transform that originally produced this step.Rebaseable.ts:19
stepreadonlyPmStepThe original step to be applied.Rebaseable.ts:17