mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
20 lines
428 B
JavaScript
20 lines
428 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class MusicCarouselShelf {
|
|
type = 'MusicCarouselShelf';
|
|
|
|
constructor(data) {
|
|
this.header = Parser.parse(data.header);
|
|
this.contents = Parser.parse(data.contents);
|
|
|
|
data.itemSize &&
|
|
(this.item_size = data.itemSize);
|
|
|
|
data.numItemsPerColumn &&
|
|
(this.num_items_per_column = data.numItemsPerColumn);
|
|
}
|
|
}
|
|
|
|
module.exports = MusicCarouselShelf; |