mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-15 18:42:11 +00:00
17 lines
373 B
TypeScript
17 lines
373 B
TypeScript
import Text from './misc/Text.js';
|
|
import { YTNode } from '../helpers.js';
|
|
|
|
class ThumbnailOverlayTimeStatus extends YTNode {
|
|
static type = 'ThumbnailOverlayTimeStatus';
|
|
|
|
text: string;
|
|
style: string;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.text = new Text(data.text).toString();
|
|
this.style = data.style;
|
|
}
|
|
}
|
|
|
|
export default ThumbnailOverlayTimeStatus; |