mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-22 14:08:06 +00:00
18 lines
508 B
TypeScript
18 lines
508 B
TypeScript
import { YTNode, type SuperParsedResult } from '../../helpers.js';
|
|
import type { RawNode } from '../../index.js';
|
|
import { Parser } from '../../index.js';
|
|
|
|
export default class MultiPageMenu extends YTNode {
|
|
static type = 'MultiPageMenu';
|
|
|
|
header: SuperParsedResult<YTNode>;
|
|
sections: SuperParsedResult<YTNode>;
|
|
style: string;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.header = Parser.parse(data.header);
|
|
this.sections = Parser.parse(data.sections);
|
|
this.style = data.style;
|
|
}
|
|
} |