mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 03:22:15 +00:00
15 lines
295 B
JavaScript
15 lines
295 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class MerchandiseShelf {
|
|
type = 'merchandiseShelfRenderer';
|
|
|
|
constructor(data) {
|
|
this.title = data.title;
|
|
this.menu = Parser.parse(data.actionButton);
|
|
this.items = Parser.parse(data.items);
|
|
}
|
|
}
|
|
|
|
module.exports = MerchandiseShelf; |