Files
YouTube.js/deno/src/parser/classes/ChipBarView.ts
2024-04-29 12:15:47 +00:00

14 lines
382 B
TypeScript

import { YTNode, type ObservedArray } from '../helpers.ts';
import { Parser, type RawNode } from '../index.ts';
import ChipView from './ChipView.ts';
export default class ChipBarView extends YTNode {
static type = 'ChipBarView';
chips: ObservedArray<ChipView> | null;
constructor(data: RawNode) {
super();
this.chips = Parser.parseArray(data.chips, ChipView);
}
}