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