MCPcopy
hub / github.com/bbc/peaks.js / SegmentOptions

Interface SegmentOptions

peaks.js.d.ts:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 type WaveformColor = string | LinearGradientColor;
22
23 interface SegmentOptions {
24 startTime: number;
25 endTime: number;
26 editable?: boolean;
27 color?: WaveformColor;
28 labelText?: string;
29 id?: string;
30 [userAttributes: string]: unknown;
31 }
32
33 interface Segment extends SegmentOptions {
34 update: (options: SegmentOptions) => void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected