mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-27 00:29:16 +00:00
chore: v3.2.0 release
This commit is contained in:
23
deno/src/parser/classes/GuideCollapsibleSectionEntry.ts
Normal file
23
deno/src/parser/classes/GuideCollapsibleSectionEntry.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { YTNode } from '../helpers.ts';
|
||||
import Parser from '../parser.ts';
|
||||
|
||||
class GuideCollapsibleSectionEntry extends YTNode {
|
||||
static type = 'GuideCollapsibleSectionEntry';
|
||||
|
||||
header_entry;
|
||||
expander_icon: string;
|
||||
collapser_icon: string;
|
||||
section_items;
|
||||
|
||||
constructor(data: any) {
|
||||
super();
|
||||
|
||||
this.header_entry = Parser.parseItem(data.headerEntry);
|
||||
this.expander_icon = data.expanderIcon.iconType;
|
||||
this.collapser_icon = data.collapserIcon.iconType;
|
||||
this.section_items = Parser.parseArray(data.sectionItems);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export default GuideCollapsibleSectionEntry;
|
||||
Reference in New Issue
Block a user