mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
18 lines
363 B
JavaScript
18 lines
363 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);
|
|
|
|
if (data.numItemsPerColumn) {
|
|
this.num_items_per_column = data.numItemsPerColumn;
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = MusicCarouselShelf; |