Files
YouTube.js/src/parser/classes/ProfileColumn.js
2022-07-21 03:51:28 -03:00

18 lines
333 B
JavaScript

import Parser from '../index';
import { YTNode } from '../helpers';
class ProfileColumn extends YTNode {
static type = 'ProfileColumn';
constructor(data) {
super();
this.items = Parser.parse(data.items);
}
// XXX: alias for consistency
get contents() {
return this.items;
}
}
export default ProfileColumn;