mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
feat(Channel): add support for sorting the playlist tab (#295)
This commit is contained in:
@@ -8,6 +8,7 @@ class SectionList extends YTNode {
|
||||
contents;
|
||||
continuation?: string;
|
||||
header;
|
||||
sub_menu;
|
||||
|
||||
constructor(data: any) {
|
||||
super();
|
||||
@@ -29,6 +30,10 @@ class SectionList extends YTNode {
|
||||
if (data.header) {
|
||||
this.header = Parser.parse(data.header);
|
||||
}
|
||||
|
||||
if (data.subMenu) {
|
||||
this.sub_menu = Parser.parseItem(data.subMenu);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user