本文へ移動

@eightkk/vue-weave / core / TimelineConstraintEdit

Interface: TimelineConstraintEdit ​

Defined in: src/core/types.ts:171

A constraint proposal from GanttChart (constraintsEditable). Apply it with applyTimelineConstraintEdit, or set the bar's constraints[kind] to after (remove it when after is undefined).

Properties ​

after ​

after: number | undefined

Defined in: src/core/types.ts:178

The proposed time, snapped and kept inside editBounds, or undefined to remove the constraint.


before ​

before: number | undefined

Defined in: src/core/types.ts:176

The constraint's time before the edit, or undefined when the bar did not have it.


id ​

id: string

Defined in: src/core/types.ts:173

The bar ID.


kind ​

kind: keyof TimelineConstraints

Defined in: src/core/types.ts:174


source ​

source: "pointer" | "keyboard"

Defined in: src/core/types.ts:179

MIT ライセンスで公開しています。