Skip to content

TimelinePress beta ​

TypeAlias of @v12-engine/client/kit

ts
export type TimelinePress = {
    on: 'marker';
    index: number;
} | {
    on: 'ruler';
} | {
    on: 'item';
    ref: TimelineRef;
    edge?: 'start' | 'end';
} | {
    on: 'rows';
};

What the pointer went down on in a timeline: a marker on the ruler, the ruler, an item of a lane (by an edge of it), or the rows where there is nothing