@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
15 lines • 607 B
JavaScript
import { YTNode } from '../helpers.js';
import Text from './misc/Text.js';
class TimedMarkerDecoration extends YTNode {
constructor(data) {
super();
this.visible_time_range_start_millis = data.visibleTimeRangeStartMillis;
this.visible_time_range_end_millis = data.visibleTimeRangeEndMillis;
this.decoration_time_millis = data.decorationTimeMillis;
this.label = new Text(data.label);
this.icon = data.icon;
}
}
TimedMarkerDecoration.type = 'TimedMarkerDecoration';
export default TimedMarkerDecoration;
//# sourceMappingURL=TimedMarkerDecoration.js.map