@duell10111/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
15 lines • 538 B
JavaScript
import { YTNode } from '../helpers.js';
import { Parser } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import OverlayTwoPanel from './OverlayTwoPanel.js';
export default class OverlaySection extends YTNode {
static type = 'OverlaySection';
endpoint;
overlay;
constructor(data) {
super();
this.endpoint = new NavigationEndpoint(data.dismissalCommand);
this.overlay = Parser.parseItem(data.overlay, OverlayTwoPanel);
}
}
//# sourceMappingURL=OverlaySection.js.map