@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
12 lines • 392 B
JavaScript
import Text from './misc/Text.js';
import { YTNode } from '../helpers.js';
class SimpleTextSection extends YTNode {
constructor(data) {
super();
this.lines = data.lines.map((line) => new Text(line));
this.style = data.layoutStyle;
}
}
SimpleTextSection.type = 'SimpleTextSection';
export default SimpleTextSection;
//# sourceMappingURL=SimpleTextSection.js.map