Skip to content

@eightkk/vue-weave / core / TimelineCreate

Interface: TimelineCreate ​

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

A new bar proposed by GanttChart (creatable): a drag or click on an empty part of a row, or the row's add button. The parent assigns an ID and a label and adds the bar to accept it.

Properties ​

end ​

end: number

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


lane ​

lane: number

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

Zero-based lane: the lane under the pointer, or the lowest free lane for the add button.


rowId ​

rowId: string

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


source ​

source: "pointer" | "keyboard"

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

keyboard when the add button was activated with Enter or Space.


start ​

start: number

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

Released under the MIT License.