mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 03:22:15 +00:00
* feat: add `ClipSection` * fix: Update src/parser/classes/ClipCreation.ts --------- Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
17 lines
451 B
TypeScript
17 lines
451 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import Text from './misc/Text.js';
|
|
|
|
import type { RawNode } from '../types/index.js';
|
|
|
|
export default class ClipCreationTextInput extends YTNode {
|
|
static type = 'ClipCreationTextInput';
|
|
|
|
placeholder_text: Text;
|
|
max_character_limit: number;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.placeholder_text = new Text(data.placeholderText);
|
|
this.max_character_limit = data.maxCharacterLimit;
|
|
}
|
|
} |