mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
14 lines
382 B
TypeScript
14 lines
382 B
TypeScript
import { YTNode, type ObservedArray } from '../helpers.js';
|
|
import { Parser, type RawNode } from '../index.js';
|
|
import ChipView from './ChipView.js';
|
|
|
|
export default class ChipBarView extends YTNode {
|
|
static type = 'ChipBarView';
|
|
|
|
chips: ObservedArray<ChipView> | null;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.chips = Parser.parseArray(data.chips, ChipView);
|
|
}
|
|
} |