@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
14 lines • 475 B
JavaScript
import { YTNode } from '../helpers.js';
import { Parser } from '../index.js';
import Text from './misc/Text.js';
class CardCollection extends YTNode {
constructor(data) {
super();
this.cards = Parser.parseArray(data.cards);
this.header = new Text(data.headerText);
this.allow_teaser_dismiss = data.allowTeaserDismiss;
}
}
CardCollection.type = 'CardCollection';
export default CardCollection;
//# sourceMappingURL=CardCollection.js.map