mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 12:31:17 +00:00
CardCollection, ChipCloud, Endscreen, PlayerOverlay, PlayerOverlayAutoplay, VideoSecondaryInfo and WatchNextEndScreen.
17 lines
339 B
TypeScript
17 lines
339 B
TypeScript
import Parser from '../index';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class Endscreen extends YTNode {
|
|
static type = 'Endscreen';
|
|
|
|
elements;
|
|
start_ms: string; // Or number?
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.elements = Parser.parseArray(data.elements);
|
|
this.start_ms = data.startMs;
|
|
}
|
|
}
|
|
|
|
export default Endscreen; |