@duell10111/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
18 lines • 541 B
JavaScript
import { YTNode } from '../helpers.js';
import Thumbnail from './misc/Thumbnail.js';
import Text from './misc/Text.js';
export default class OverlayPanelHeader extends YTNode {
static type = 'OverlayPanelHeader';
image;
title;
subtitle;
style;
constructor(data) {
super();
this.image = Thumbnail.fromResponse(data.image);
this.title = new Text(data.title);
this.subtitle = new Text(data.subtitle);
this.style = data.style;
}
}
//# sourceMappingURL=OverlayPanelHeader.js.map