PitchKit
API Reference@pitchkit/reactInterfaces

MomentumHover

Defined in: packages/react/src/momentum-types.ts:40

What a readout is about: the minute under the pointer and what is there.

Type Parameters

Type Parameter
T
E

Properties

PropertyModifierTypeDescriptionDefined in
barreadonlyMomentumBar | undefinedThe bar under the pointer, or undefined in a stretch with no data.packages/react/src/momentum-types.ts:45
datumreadonlyT | undefinedThe caller's datum behind that bar.packages/react/src/momentum-types.ts:47
eventsreadonlyreadonly E[]Events at that minute.packages/react/src/momentum-types.ts:49
minutereadonlynumber-packages/react/src/momentum-types.ts:41
periodreadonlynumberZero-based index into periods.packages/react/src/momentum-types.ts:43

On this page