mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
16 lines
374 B
JavaScript
16 lines
374 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class HorizontalCardList {
|
|
type = 'HorizontalCardList';
|
|
|
|
constructor(data) {
|
|
this.cards = Parser.parse(data.cards);
|
|
this.header = Parser.parse(data.header);
|
|
this.previous_button = Parser.parse(data.previousButton);
|
|
this.next_button = Parser.parse(data.nextButton);
|
|
}
|
|
}
|
|
|
|
module.exports = HorizontalCardList; |