UNPKG

@antoniojps/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube.

19 lines 781 B
import { YTNode } from '../helpers.js'; import { Parser } from '../index.js'; import DialogHeaderView from './DialogHeaderView.js'; import FormFooterView from './FormFooterView.js'; import CreatePlaylistDialogFormView from './CreatePlaylistDialogFormView.js'; import PanelFooterView from './PanelFooterView.js'; export default class DialogView extends YTNode { static type = 'DialogView'; header; footer; custom_content; constructor(data) { super(); this.header = Parser.parseItem(data.header, DialogHeaderView); this.footer = Parser.parseItem(data.footer, [FormFooterView, PanelFooterView]); this.custom_content = Parser.parseItem(data.customContent, CreatePlaylistDialogFormView); } } //# sourceMappingURL=DialogView.js.map