chore: v9.0.0 release

This commit is contained in:
LuanRT
2024-01-25 22:05:21 +00:00
parent 944f821d9a
commit 648488641d
86 changed files with 909 additions and 453 deletions

View File

@@ -1,13 +1,16 @@
import { YTNode } from '../helpers.ts';
import type { RawNode } from '../index.ts';
import Text from './misc/Text.ts';
export default class DynamicTextView extends YTNode {
static type = 'DynamicTextView';
text: string;
text: Text;
max_lines: number;
constructor(data: RawNode) {
super();
this.text = data.text.content;
this.text = Text.fromAttributed(data.text);
this.max_lines = parseInt(data.maxLines);
}
}